Crate color_parser
source · [−]Structs
A color_parser in HSLA color_parser space with 32-bit floating point components.
A color_parser in HSVA color_parser space with 32-bit floating point components.
A color_parser in the luma color_parser space.
A color in the RGB color space.
A color in the RGBA color space.
A color in the RGBA color_parser space with 32-bit precision.
Traits
Helper trait to convert a parser’s result to a more manageable type
Functions
<alpha> = <number> | <percentage>
<angle> = <number> <angle-measure>
<float> = <number> | <percentage>
<hex-color_parser> = #<hex-value>{3,4,6,8}
https://www.w3.org/TR/css-color-4/#hex-notation
<rgb> = (rgb|rgba) ((<percentage>|<number>)#{3},<alpha-value>?)