ColorTools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

ColorTools

  

Saturate

  

create a new color with higher saturation

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Saturate(color)

Saturate(color, factor)

Parameters

color

-

color format recognized by ColorTools

factor

-

positive number

Description

• 

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

• 

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

Examples

withColorTools:

SaturateCoral

RGB : 1 0.398 0.176

(1)

SaturateCoral,1.5

RGB : 1 0.269 0

(2)

SaturateCoral,11.5

RGB : 1 0.269 0

(3)

Compatibility

• 

The ColorTools[Saturate] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

ColorTools

ColorTools/ColorSpaces

ColorTools[Color]

ColorTools[Desaturate]