Skip to main content

apply_tint

Function apply_tint 

Source
pub fn apply_tint(rgb: [u8; 3], tint: f64) -> [u8; 3]
Expand description

Tint as in ECMA-376: lighten towards white (positive) or darken (negative) in HSL luminance.