Name Description Size Coverage
color_function.rs Output of parsing a color function, e.g. rgb(..), hsl(..), color(..) 24849 -
component.rs Parse/serialize and resolve a single color component. 8936 -
convert.rs Color conversion algorithms. Algorithms, matrices and constants are from the [color-4] specification, unless otherwise specified: https://drafts.csswg.org/css-color-4/#color-conversion-code NOTE: Matrices has to be transposed from the examples in the spec for use with the `euclid` library. 30435 -
gamut -
gamut.rs Gamut mapping. <https://drafts.csswg.org/css-color-4/#gamut-mapping> 8871 -
mix.rs Color mixing/interpolation. 20807 -
mod.rs Color support functions. 27102 -
parsing.rs Parsing for CSS colors. 25554 -
to_css.rs Write colors into CSS strings. 11439 -