Fixed color luminosity, added test for color contrast.