Saturate - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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 (in the hardward dependent HSV colorspace), but its saturation is multiplied by a factor of 1.2. In other words, the new Color structure is more colorful by a factor of 1.2, if possible within the bounds of the HSV colorspace.

• 

If the optional parameter factor is given the output is saturated by that factor if it is greater than 1, and the reciprocal otherwise. Use the Desaturate command to decrease the saturation.

• 

A more perceptually accurate saturation adjustment can be achieved using the Adjust command.

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]