lolcat¶
Rainbow colorize text.
Synopsis¶
Description¶
Output text in rainbow colors using ANSI true color. Makes everything better.
Flags¶
| Flag | Short | Description | Default |
|---|---|---|---|
--freq |
-f |
Rainbow frequency (color change rate) | 0.1 |
--spread |
-p |
Rainbow spread (how much colors spread across lines) | 3.0 |
--seed |
-s |
Rainbow seed (starting point in the rainbow) | 0 |
Examples¶
Colorize text:
Colorize from stdin:
Colorize a file:
Faster color cycling:
Different starting color:
Wider color spread:
Fun Uses¶
Colorize cowsay:
Rainbow build output:
Rainbow fortune:
Notes¶
- Requires a terminal that supports ANSI true color (24-bit color)
- Spaces and tabs are not colorized