HSBSATURATION function

HSBSATURATION(Color) HSBSATURATION(Color)

Color

Color or { Color }

The color.

Returns

Number or { Number }

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

Returns the saturation 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

HSBSATURATION(Color.Red)HSBSATURATION(Color,Red)

Returns 100, indicating that the default red color is fully saturated.

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

Returns the array { 100, 100 }{ 100; 100 }, indicating that both the default red and blue colors are fully saturated.