Skip to main content

lerp_color

Function lerp_color 

Source
pub fn lerp_color(from: Color, to: Color, progress: f32) -> Color
Expand description

Smoothly interpolate between two ftui Colors.

Only works with RGB colors; non-RGB falls back to a binary switch at 50%.