Table of Contents

Color - (Lightness|Value|Tone) (White, Gray, Black scale)

About

Lightness, also known as value or tone, is a property (coordinate) placed on a linear scale where:

Color Value Without Color

Some colors are naturally:

and can therefore be projected on the greyscale.

Name

Various color models have an explicit term for this property.

Colorspace

Lightness may be used in colorspace as coordinate. Example with HSL.

Hslsphere 1)

Operation

Tint (Increase) vs Shade (decrease)

In subtractive color (i.e. paints), lightness value changes can be achieved by adding black or white to the color.

Both processes (tint and shade) affect the saturation but the hue remains unchanged.

Calculation

From Rgb

from a rgb colorspace

$max = max($red, $green, $blue);
$min = min($red, $green, $blue);
$lightness = ($max + $min) / 2;

Documentation / Reference