create a new color with lower saturation - Maple Help

Online Help

All Products    Maple    MapleSim


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

ColorTools[Desaturate] - create a new color with lower saturation

Calling Sequence

Desaturate(color)

Desaturate(color, factor)

Parameters

color

-

color format recognized by ColorTools

factor

-

positive number

Description

• 

The Desaturate command creates a new Color structure which has the same hue and lightness as the input color, but its saturation is lower by a factor of 1.2.

• 

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

Examples

withColorTools:

DesaturateCoral

RGB : 1 0.598 0.451

(1)

DesaturateCoral,1.5

RGB : 1 0.665 0.542

(2)

DesaturateCoral,11.5

RGB : 1 0.665 0.542

(3)

See Also

ColorTools, ColorTools/ColorSpaces, ColorTools[Color], ColorTools[Saturate]


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