HUE function
HUE(Color) HUE(Color)
Color
Color or { Color }
The color.
Returns
Number or { Number }
The hue from the given color, ranging from 0 to 360 (inclusive).
Returns the hue from the given color according to the Hue-Saturation-Brightness (HSB), Hue-Saturation-Brightness-Alpha (HSBA), Hue-Saturation-Lightness (HSL) and Hue-Saturation-Lightness-Alpha (HSLA) color models.
This function is Calcapp-specific.
Examples
HUE(Color.Red)HUE(Color,Red)
Returns 0, which is the hue of the default red color.
HUE({ Color.Blue,
Color.Red })HUE({ Color,Blue;
Color,Red })
Returns the array { 240, 0 }{ 240; 0 }, indicating that the default blue color has a hue equaling 240 and that the default red color has a hue equaling 0.