Name Description Size
color_function.rs Output of parsing a color function, e.g. rgb(..), hsl(..), color(..) 8058
component.rs Parse/serialize and resolve a single color component. 4455
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. 28613
mix.rs Color mixing/interpolation. 17065
mod.rs Color support functions. 21440
parsing.rs Fairly complete css-color implementation. Relative colors, color-mix, system colors, and other such things require better calc() support and integration. 25327
to_css.rs Write colors into CSS strings. 9266