Expand description

CSS color values.

Structs

A color in the a98-rgb color space.

A color type that is used as a fallback when compiling colors for older browsers.

A color in the hsl color space.

A color in the hwb color space.

A color in the CIE Lab color space.

A color in the CIE LCH color space.

A color in the OKLab color space.

A color in the OKLCH color space.

A color in the display-p3 color space.

A color in the prophoto-rgb color space.

A color in the rec2020 color space.

A color in the sRGB color space.

A color in the sRGB-linear color space.

A color in the xyz-d50 color space.

A color in the xyz-d65 color space.

Enums

A CSS <color> value.

A floating point representation of color types that are usually stored as RGBA. These are used when there are any none components, which are represented as NaN.

A hue interpolation method used in interpolation functions such as color-mix().

A color in a LAB color space, including the lab(), lch(), oklab(), and oklch() functions.

A color in a predefined color space, e.g. display-p3.

Traits

A trait that colors implement to support gamut mapping.

A trait that colors implement to support interpolation.