Skip to main content

hex_blend

Function hex_blend 

Source
pub fn hex_blend(a: &str, b: &str) -> Option<String>
Expand description

Average two #RRGGBB strings into a midpoint color. Returns None if either input isn’t parseable. Mirrors claudebar’s hex_blend() (claudebar:105-110).