pub fn darken_hex(hex_color: &str, factor: f64) -> String
Darken a #RRGGBB hex color by factor (matching Python _darken_hex).
#RRGGBB
factor
_darken_hex