Function three_color

Source
pub fn three_color(text: &str, start: Color, mid: Color, end: Color) -> String
Expand description

Generates a 3-color gradient (start -> mid, mid -> end) This function creates a gradient that transitions from the start color to the mid color, and then from the mid color to the end color.