Interface Hunter

A Hunter Lab representation of a color. Designed to be computed via simple formulas from CIEXYZ color space, but to be more perceptually uniform. A precursor to CIELAB.

interface Hunter {
    0: number;
    1: number;
    2: number;
}

Hierarchy (view full)

Properties

0 1 2

Properties

0: number

The L (lightness) value of this color in the range [0,100] (lighter values are whiter).

1: number

The a opponent color axis value of this color. The positive direction represents redness, while the negative direction represents greenness.

2: number

The b opponent color axis value of this color. The positive direction represents yellowness, while the negative direction represents blueness.