Skip to main content

mix_oklab

Function mix_oklab 

Source
pub fn mix_oklab(from: Color, to: Color, t: f32) -> Color
Expand description

Mixes two colors in OKLab with premultiplied alpha, so a fade from transparent keeps the destination’s hue instead of passing through gray.