BRIGHTNESS function
BRIGHTNESS(Color) BRIGHTNESS(Color)
Color
Color or { Color }
The color.
Returns
Number or { Number }
The brightness from the given color.
Returns the brightness from the given color according to the Hue-Saturation-Brightness (HSB) and Hue-Saturation-Brightness-Alpha (HSBA) color models.
This function is Calcapp-specific.
Examples
BRIGHTNESS(Color.Azure)BRIGHTNESS(Color,Azure)
Returns 100, which is the brightness of the azure color.
BRIGHTNESS({ Color.Azure,
Color.AliceBlue })BRIGHTNESS({ Color,Azure;
Color,AliceBlue })
Returns the array { 100, 100 }{ 100; 100 }, indicating that both colors have a brightness equaling 100.