Chroma - Maple Help

ColorTools[Color]

 Chroma
 retrieve the chroma of a Color object

 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

 > $\mathrm{Chroma}\left(\mathrm{ColorTools}:-\mathrm{Color}\left("black"\right)\right)$
 ${0.}$ (1)
 > $\mathrm{Chroma}\left(\mathrm{ColorTools}:-\mathrm{Color}\left("red"\right)\right)$
 ${1.0000000}$ (2)
 > $\mathrm{Chroma}\left(\mathrm{ColorTools}:-\mathrm{Color}\left("pink"\right)\right)$
 ${0.24705882}$ (3)

Compatibility

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