 Lighten - Maple Help

ColorTools

 Lighten
 create a new color with higher lightness Calling Sequence Lighten(color, factor) Parameters

 color - color format recognized by ColorTools factor - (optional) positive number Description

 • The Lighten command creates a new Color structure which has the same hue and saturation as the input color (in the hardward dependent HSV colorspace), but is multiplied by a factor of 1.2. In other words, the new Color structure is lighter by a factor of 1.2, if possiblewithin the bounds of the HSV colorspace.
 • If the optional parameter factor is given the output is lightened by that factor if it is greater than 1, and the reciprocal otherwise. Use the Darken command to decrease the lightness.
 • A more perceptually accurate lightening can be achieved using the Adjust command. Examples

 > $\mathrm{with}\left(\mathrm{ColorTools}\right):$
 > $\mathrm{Lighten}\left("DarkRed"\right)$
 ${⟨}\colorbox[rgb]{0.654901960784314,0,0}{{RGB : 0.654 0 0}}{⟩}$ (1)
 > $\mathrm{Lighten}\left("DarkRed",1.5\right)$
 ${⟨}\colorbox[rgb]{0.819607843137255,0,0}{{RGB : 0.818 0 0}}{⟩}$ (2)
 > $\mathrm{Lighten}\left("DarkRed",\frac{1}{1.5}\right)$
 ${⟨}\colorbox[rgb]{0.819607843137255,0,0}{{RGB : 0.818 0 0}}{⟩}$ (3)
 > $\mathrm{Lighten}\left("Black"\right)$
 ${⟨}\colorbox[rgb]{0.00392156862745098,0.00392156862745098,0.00392156862745098}{{RGB : 0.00469 0.00469 0.00469}}{⟩}$ (4) Compatibility

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