ColorTools
Desaturate
create a new color with lower saturation
Calling Sequence
Parameters
Description
Examples
Compatibility
Desaturate(color)
Desaturate(color, factor)
color
-
color format recognized by ColorTools
factor
positive number
The Desaturate command creates a new Color structure which has the same hue and lightness as the input color (in the hardward dependent HSV colorspace), but its saturation is multiplied by a factor of 0.8. In other words, the new Color structure is less colorful by a factor of 0.8, if possible within the bounds of the HSV colorspace.
If the optional parameter factor is given the output is desaturated by that factor if it is greater than 1, and the reciprocal otherwise. Use the Saturate command to increase the saturation.
A more perceptually accurate saturation adjustment can be achieved using the Adjust command.
with⁡ColorTools:
Desaturate⁡Coral
〈RGB : 1 0.598 0.451〉
Desaturate⁡Coral,1.5
〈RGB : 1 0.665 0.542〉
Desaturate⁡Coral,11.5
Desaturate⁡Black
〈RGB : 0 0 0〉
The ColorTools[Desaturate] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
See Also
ColorTools/ColorSpaces
ColorTools[Adjust]
ColorTools[Color]
ColorTools[Saturate]
Download Help Document