ColorTools
Darken
create a new color with lower lightness
Calling Sequence
Parameters
Description
Examples
Compatibility
Darken(color)
Darken(color,factor)
color
-
color format recognized by ColorTools
factor
(optional) positive number compute the resulting color
The Darken 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 0.8. In other words, the new Color structure is darker 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 darkened by that factor if it is less than 1, and the reciprocal otherwise. Use the Lighten command to increase the lightness.
A more perceptually accurate darkening can be achieved using the Adjust command.
with⁡ColorTools:
Darken⁡DarkRed
〈RGB : 0.436 0 0〉
Darken⁡DarkRed,1.5
〈RGB : 0.363 0 0〉
Darken⁡DarkRed,11.5
The ColorTools[Darken] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
The ColorTools[Darken] command was updated in Maple 2017.
See Also
ColorTools/ColorSpaces
ColorTools[Adjust]
ColorTools[Color]
ColorTools[Lighten]
Download Help Document