create a new color with lower lightness
color format recognized by ColorTools
(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.
〈RGB : 0.436 0 0〉
〈RGB : 0.363 0 0〉
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.
Download Help Document