Skip to main content

tint_white

Function tint_white 

Source
pub fn tint_white(c: Rgba, factor: f32) -> Rgba
Expand description

Mix color c with white by factor ∈ [0, 1] (0 = original, 1 = white).