ColorTools[Color]
Hue
retrieve the hue of a Color object
Calling Sequence
Parameters
Description
Examples
Compatibility
Hue(color)
color
-
Color object created with ColorTools[Color]
The Hue command returns the hue of a Color object, which is the angle scaled from 0. to 1.0 around the RGB color wheel where red is 0, green is 13, and blue is 23.
c≔ColorTools:-Color⁡red
c≔〈RGB : 1 0 0〉
Hue⁡c
0.
c≔ColorTools:-Desaturate⁡c,0.5
c≔〈RGB : 1 0.5 0.5〉
Hue⁡ColorTools:-Color⁡black
Float⁡undefined
The ColorTools[Color][Hue] command was introduced in Maple 2017.
For more information on Maple 2017 changes, see Updates in Maple 2017.
See Also
Download Help Document