luminance

Calculates the luminance of the color in the RGB color space.

Return

The luminance of the color.