pub fn parse_hex(s: &str) -> Option<Color>
Parse a hex colour string ("#RGB" / "#RGBA" / "#RRGGBB" / "#RRGGBBAA", with or without the leading #, case-insensitive) into a Color. Returns None for malformed input.
"#RGB"
"#RGBA"
"#RRGGBB"
"#RRGGBBAA"
#
Color
None