stronger color check for migration fix for nightmode