LIGHTNESS (Color) LIGHTNESS (Color)

Color

Color Color

The color.

Returns

Number Number

The lightness from the given color, ranging from 0 to 100 (inclusive).

Returns the lightness from the given color according to the Hue-Saturation-Lightness (HSL) and Hue-Saturation-Lightness-Alpha (HSLA) color models.

This function is not commonly supported by spreadsheets.

Examples

LIGHTNESS (Color.Red)
LIGHTNESS (Color,Red)

Returns 50, indicating that the default red color has a lightness equaling 50.

LIGHTNESS ({ Color.Red, Color.Blue })
LIGHTNESS ({ Color,Red; Color,Blue })

Returns the array { 50, 50 }{ 50; 50 }, indicating that both colors have a lightness equaling 50.

fxEngine Shell Want this in your own terminal? A standalone version is coming. Get notified.
Loading fxEngine Shell