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

Online Help

ColorTools

  

Adjust

  

create a new color with different lightness and chroma

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Adjust(color, chroma=c, lightness=l)

Parameters

color

-

color format recognized by ColorTools

c

-

(optional) numeric adjustment to chroma between -100 and 100

l

-

(optional) numeric adjustment to lightness between -100 and 100

Description

• 

The Adjust command creates a new Color structure which has the same hue as the input color, but with altered lightness and/or saturation. It uses the cylindrical perceptual color space LCH to make the adjustment and then projects back to a displayable color in the original colorspace unless the raw option is given.

• 

Contrast this command with the quartet of Lighten, Darken, Saturate, and Desaturate which use the HSV non-perceptual colorspace.

Examples

(1)

(2)

(3)

(4)

(5)

(6)

Compatibility

• 

The ColorTools[Adjust] command was introduced in Maple 18.

• 

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

See Also

ColorTools

ColorTools/ColorSpaces

ColorTools[Color]

ColorTools[Darken]

ColorTools[Desaturate]

ColorTools[Lighten]

ColorTools[Saturate]

ColorTools[ToDisplayable]

 


Download Help Document