HSBA (Hue, Saturation, Brightness, Alpha) HSBA (Hue; Saturation; Brightness; 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).

Brightness

Number Number

The brightness. 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-Brightness-Alpha (HSBA) color model, also known as the Hue-Saturation-Value-Alpha (HSVA) color model.

This function is not commonly supported by spreadsheets.

Examples

HSBA (0, 100, 100, 0.5)
HSBA (0; 100; 100; 0,5)

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

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

Returns the array { Color.Red, Color.Black }{ Color,Red; Color,Black }, with the exception that the red color is half-transparent. When the third parameter, the brightness, is set to 0, the returned color is always black.

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