Skip to main content

tinted

Function tinted 

Source
fn tinted(color: [u8; 4], factor: f32) -> [u8; 4]
Expand description

Scale a color’s bytes by a factor, for the pattern accents.