create a new color with higher brightness - Maple Help

Online Help

All Products    Maple    MapleSim


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

ColorTools[Lighten] - create a new color with higher brightness

Calling Sequence

Lighten(color)

Lighten(color, factor)

Parameters

color

-

color format recognized by ColorTools

factor

-

positive number

Description

• 

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

• 

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

Examples

withColorTools:

LightenDarkRed

RGB : 0.654 0 0

(1)

LightenDarkRed,1.5

RGB : 0.818 0 0

(2)

LightenDarkRed,11.5

RGB : 0.818 0 0

(3)

See Also

ColorTools, ColorTools/ColorSpaces, ColorTools[Color], ColorTools[Darken]


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