pub fn parse_color_keyword<Output>(ident: &str) -> Result<Output, ()>where
Output: FromParsedColor,
Expand description
Return the named color with the given name.
Matching is case-insensitive in the ASCII range.
CSS escaping (if relevant) should be resolved before calling this function.
(For example, the value of an Ident
token is fine.)