HSLA (Hue, Saturation, Lightness, Alpha) HSLA (Hue; Saturation; Lightness; Alpha)

Hue

Number Number

The hue. Must be between 0 and 360 (inclusive).

Saturation

Number Number

The saturation. Must be between 0 and 100 (inclusive).

Lightness

Number Number

The lightness. Must be between 0 and 100 (inclusive).

Alpha

Number Number

The alpha value. Must be between 0 and 1 (inclusive). 0 means that the color is fully transparent and 1 means that the color is fully opaque.

Returns

Color Color

A color based on the given color components.

Returns a color based on the given color components according to the Hue-Saturation-Lightness-Alpha (HSLA) color model.

This function is not commonly supported by spreadsheets.

Examples

HSLA (0, 100, 50, 0.5)
HSLA (0; 100; 50; 0,5)

Returns a half-transparent color corresponding to Color.RedColor,Red.

HSLA (0, 100, { 100, 0 }, { 0.5, 1 })
HSLA (0; 100; { 100; 0 }; { 0,5; 1 })

Returns the array { Color.White, Color.Black }{ Color,White; Color,Black }, with the exception that the white color is half-transparent. The returned color is always white if the value of the Lightness parameter is 100 and always black if it is 0.

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