Module lightningcss::values::color
source · Expand description
CSS color values.
Structs
A channel type for a color space.
A color type that is used as a fallback when compiling colors for older browsers.
A color in the
display-p3
color space.A color in the
prophoto-rgb
color space.A color in the
sRGB-linear
color space.Enums
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 for color spaces.
A trait that colors implement to support interpolation.