A

ansi-colors

This simple bash script prints all the possible ansi colors in the terminal if supported. This can then be used with the available command line options like in http://misc.flogisoft.com/bash/tip_colors_and_formatting