create a new color with lower brightness - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : ColorTools/Darken

ColorTools[Darken] - create a new color with lower brightness

Calling Sequence

Darken(color)

Darken(color, factor)

Parameters

color

-

color format recognized by ColorTools

factor

-

positive number

Description

• 

The Darken command creates a new Color structure which has the same hue and chroma as the input color, but is multiplied by a factor of .8. In other words, the new Color structure is lighter by a factor of .8.

• 

If the optional parameter factor is given the output is lightened by that factor if it is less than 1, and the reciprocal otherwise.

Examples

withColorTools:

DarkenDarkRed

RGB : 0.436 0 0

(1)

DarkenDarkRed,1.5

RGB : 0.363 0 0

(2)

DarkenDarkRed,11.5

RGB : 0.363 0 0

(3)

See Also

ColorTools, ColorTools/ColorSpaces, ColorTools[Color], ColorTools[Lighten]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam