Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

darken_hex

Function darken_hex 

Source
pub fn darken_hex(hex_color: &str, factor: f64) -> String
Expand description

Darken a #RRGGBB hex color by factor (matching Python _darken_hex).