ColorTools
Lighten
create a new color with higher lightness
Calling Sequence
Parameters
Description
Examples
Compatibility
Lighten(color, factor)
color
-
color format recognized by ColorTools
factor
(optional) positive number
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.
with⁡ColorTools:
Lighten⁡DarkRed
〈RGB : 0.654 0 0〉
Lighten⁡DarkRed,1.5
〈RGB : 0.818 0 0〉
Lighten⁡DarkRed,11.5
Lighten⁡Black
〈RGB : 0.00469 0.00469 0.00469〉
The ColorTools[Lighten] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
The ColorTools[Lighten] command was updated in Maple 2017.
See Also
ColorTools/ColorSpaces
ColorTools[Adjust]
ColorTools[Color]
ColorTools[Darken]
Download Help Document