Function two_color

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

Alias for generate() This function is a convenience function that calls the generate function with the provided text and colors. It returns the generated gradient string.