 Saturate - Maple Help

ColorTools

 Saturate
 create a new color with higher saturation Calling Sequence Saturate(color) Saturate(color, factor) Parameters

 color - color format recognized by ColorTools factor - positive number Description

 • The Saturate 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 1.2. In other words, the new Color structure is more colorful by a factor of 1.2, if possible within the bounds of the HSV colorspace.
 • If the optional parameter factor is given the output is saturated by that factor if it is greater than 1, and the reciprocal otherwise. Use the Desaturate command to decrease the saturation.
 • A more perceptually accurate saturation adjustment can be achieved using the Adjust command. Examples

 > $\mathrm{with}\left(\mathrm{ColorTools}\right):$
 > $\mathrm{Saturate}\left("Coral"\right)$
 ${⟨}\colorbox[rgb]{1,0.396078431372549,0.176470588235294}{RGB : 1 0.398 0.176}{⟩}$ (1)
 > $\mathrm{Saturate}\left("Coral",1.5\right)$
 ${⟨}\colorbox[rgb]{1,0.266666666666667,0}{RGB : 1 0.269 0}{⟩}$ (2)
 > $\mathrm{Saturate}\left("Coral",\frac{1}{1.5}\right)$
 ${⟨}\colorbox[rgb]{1,0.266666666666667,0}{RGB : 1 0.269 0}{⟩}$ (3) Compatibility

 • The ColorTools[Saturate] command was introduced in Maple 16.