ChangeLightness

 

Purpose:

Changes the lightness of the given color value.

Parameter:

Number           Color (e.g. per RGB function)

Number           Factor by which the color is darkened or brightened. E.g. the color is half as bright with '0.5' and twice as bright with '2'.

Return value:

Number

Example:

ChangeLightness(LL.Color.Red,2)