Skip to main content

parse_hex

Function parse_hex 

Source
pub fn parse_hex(input: &str) -> Result<Color, String>
Available on crate feature property-grid only.
Expand description

Reads a hex colour: #RGB, #RGBA, #RRGGBB or #RRGGBBAA, with or without the #.