Integer ng.Color.get_luminance () vs. 1.1.0 Full+Lite

Gets the color luminance.

Definition

Luminance is a measure to describe the perceived brightness of a color. You can lighten or darken a color by adjusting its lightness value, but lightness is not the only dimension to consider for luminance. That is because each hue naturally has an individual luminance value.

Return

Integer Required vs. 1.1.0 Full+Lite
The perceived brightness of a color. The value is between 0 to 100 where a lower number means the color is darker.

Examples

Using ng.Color.get_luminance()
Demo: