Skip to main content

parse_color

Function parse_color 

Source
pub fn parse_color(text: &str) -> Option<[f32; 4]>
Expand description

A CSS <color> as sRGB channels, None for anything else, currentColor and system colours.