pub fn normalize_hex(s: &str) -> Result<String, HexColorError>Expand description
Normalize a raw hex string to #rrggbb (lowercase, with leading #).
Accepts values with or without a leading #.
pub fn normalize_hex(s: &str) -> Result<String, HexColorError>Normalize a raw hex string to #rrggbb (lowercase, with leading #).
Accepts values with or without a leading #.