Module cssparser::color

source ·

Macros

Structs

  • A color specified by the color() function. https://drafts.csswg.org/css-color-4/#color-function
  • Default implementation of a ColorParser
  • Color specified by hue, saturation and lightness components.
  • Color specified by hue, whiteness and blackness components.
  • Color specified by lightness, a- and b-axis components.
  • Color specified by lightness, chroma and hue components.
  • Color specified by lightness, a- and b-axis components.
  • Color specified by lightness, chroma and hue components.
  • A color with red, green, blue, and alpha components, in a byte each.

Enums

Constants

Traits

  • A trait that can be used to hook into how cssparser parses color components, with the intention of implementing more complicated behavior.
  • This trait is used by the ColorParser to construct colors of any type.

Functions

Type Aliases