std.experimental.color.lab

This module implements the CIE Lab and LCh _color types.

Lab is full-spectrum, absolute, vector _color space, with the specific goal of human perceptual uniformity.

Members

Enums

isLCh
eponymoustemplate isLCh(T)

Detect whether T is an L*C*h° color.

isLab
eponymoustemplate isLab(T)

Detect whether T is a L*a*b* color.

Structs

LCh
struct LCh(F = float, alias whitePoint_ = (WhitePoint!F.D50))

A CIE L*C*h° color, parameterised for component type and white point. The LCh color space is a Lab cube color space, where instead of cartesian coordinates a*, b*, the cylindrical coordinates C* (chroma) and h° (hue angle) are specified. The CIELab lightness L* remains unchanged.

Lab
struct Lab(F = float, alias whitePoint_ = (WhitePoint!F.D50))

A CIE L*a*b* color, parameterised for component type and white point.

Meta

Authors

Manu Evans