I was tailing a logfile and I wanted to colorize some specific keywords in it. I found Andreas Schamanek’s mycolorize which serves perfectly for the purpose.
Download it and use it by doing
$ tail logfile | ~/mycolorize color 'regexp'
You can check additional examples and documentation on the website.