pub fn gradient_string(text: &str, gradient: &Gradient) -> String
Render a string with per-character gradient coloring as ANSI escape codes.