Pipe text though it to highlight:
Numbers, try:
cat something | colorize '[0-9]+'
Lines matching phrase, try:
cat anotherthing | colorize '.*phrase.*'
Headers in curl, try:
cat anything | colorize '^[^:]*:'
If you don't like distribution of the colors, add some random number as second argument.
You can install via brew:
brew install aleksandr-vin/taps/colorize-cli
or pypi:
pip install colorize-cli