Module icebox::space[][src]

Structs

Ciexyz

The CIE 1931 (XYZ) color space. Used as an intermediary for other color formats.

LinearSrgb

Linear sRGB. Cannot be used directly, needs to either be converted to XYZ or gamma-corrected.

Oklab

The Oklab opponent color space. For more information, see this blog post.

Srgb

The sRGB display standard. Supports virtually all displays, but cannot render wide-gamut color.

Srlab2

A Lab color space akin to CIELAB, but with some improvements. For more information, see this page.

Traits

ColorVecSpace

A color space whose colors are closed under basic linear algebra operations and can be represented as vectors.

OpponentSpace

A color space consisting of one luma channel L and two opponent channels x and y. Color spaces deriving this trait will automatically support conversion to and from Lch (cylindrical) and Lch (conical) parameterizations.