How would you determine from the RGB values the lightness of a pixel?
Printable View
How would you determine from the RGB values the lightness of a pixel?
By using this formula (assuming you have an RGB to work with)
Luminance == (RED * 0.3) + (GREEN * 0.59) + (BLUE * 0.11)