Function multi_color

Source
pub fn multi_color(text: &str, colors: Vec<Color>) -> String
Expand description

Generates a gradient from a vector of colors, distributed across text. This function creates a gradient that transitions through multiple colors. The colors are evenly distributed across the text.