Chroma - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


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]