calculateLuminance

Returns the luminance of a color in ARGB format.

Return

the luminance of the color

Parameters

argb

the ARGB representation of a color