Create getLightnessOfRGB