Function generate_gradient

Source
pub fn generate_gradient(text: &str, start: Color, end: Color) -> Vec<String>
Expand description

Generates a horizontal gradient between two colors over N steps. This can be used for printing rainbow text or gradual transitions.