Module gradient

Source

Functions§

generate_gradient
Generates a horizontal gradient between two colors over N steps. This can be used for printing rainbow text or gradual transitions.
print_gradient_line
Print gradient text directly to stdout.