Function parse_hex_color
pub fn parse_hex_color(hex: &str) -> Option<(u8, u8, u8)>Expand description
Parse a #rgb / #rrggbb / #rrggbbaa colour string to an RGB triple
(see crate::color::parse_hex). Alpha is discarded; None for anything
unparseable.