ColorTools[Color] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : Color and Color Object Manipulation Commands : ColorTools/Color/Hue

ColorTools[Color]

  

Hue

  

retrieve the hue of a Color object

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Hue(color)

Parameters

color

-

Color object created with ColorTools[Color]

Description

• 

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.

Examples

cColorTools:-Colorred

cRGB : 1 0 0

(1)

Huec

0.

(2)

cColorTools:-Desaturatec,0.5

cRGB : 1 0.5 0.5

(3)

Huec

0.

(4)

HueColorTools:-Colorblack

Floatundefined

(5)

Compatibility

• 

The ColorTools[Color][Hue] command was introduced in Maple 2017.

• 

For more information on Maple 2017 changes, see Updates in Maple 2017.

See Also

ColorTools[Color]