Colorize Ruby Terminal Output
Coloring your terminal output in a command-line application can make a big difference in readability. This will show you how to format your text in a Ruby application.
We will use the colorize
gem, which works in Linux, Mac, and Windows too.
Colorize works by adding the ANSI escape characters to set colors.