Function cssparser::color::parse_named_color

source ยท
pub fn parse_named_color(ident: &str) -> Result<(u8, u8, u8), ()>
Expand description

Returns the named color with the given name. https://drafts.csswg.org/css-color-4/#typedef-named-color