Function cssparser::parse_color_keyword
source · [−]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.)