ColorInfo.Luminance (gb.image)
Property
Luminance
As
Integer
Returns the luminance of the color, between 0 and 255.
The following formula is used:
Luminance = 0.299 * Red + 0.587 * Green + 0.114 * Blue