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/Chroma

ColorTools[Color]

  

Chroma

  

retrieve the chroma of a Color object

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Chroma(color)

Parameters

color

-

a Color object created with ColorTools[Color]

Description

• 

The Chroma command returns the chroma of a Color object, which is a float between 0. and 1.0 representing the intensity of a color defined as the maximum difference between any of its red, green, and blue channels.

Examples

ChromaColorTools:-Colorblack

0.

(1)

ChromaColorTools:-Colorred

1.0000000

(2)

ChromaColorTools:-Colorpink

0.24705882

(3)

Compatibility

• 

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

• 

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

See Also

ColorTools[Color]