Skip to main content

parse_hex_color

Function parse_hex_color 

Source
pub fn parse_hex_color(hex: &str) -> Color
Expand description

Parse a hex color string (#RGB or #RRGGBB) to a Color.