Expand description
Color support functions.
Modulesยง
- color_
function ๐ - Output of parsing a color function, e.g. rgb(..), hsl(..), color(..)
- component
- Parse/serialize and resolve a single color component.
- convert
- cbindgen:ignore Color conversion algorithms.
- mix
- Color mixing/interpolation.
- parsing
- Parsing for CSS colors.
- to_css ๐
- Write colors into CSS strings.
Macrosยง
- color_
components_ ๐as - Given an
AbsoluteColor
, return the 4 float components as the type given, e.g.:
Structsยง
- Absolute
Color - An absolutely specified color, using either rgb(), rgba(), lab(), lch(), oklab(), oklch() or color().
- Color
Components - The 3 components that make up a color. (Does not include the alpha component)
- Color
Flags - Flags used when serializing colors.
- Component
Details - Holds details about each component passed into creating a new
AbsoluteColor
.
Enumsยง
- Color
Function - Represents a specified color function.
- Color
Space - A color space representation in the CSS specification.