only display colors if output medium supports colors
Merge pull request #302 from grosser/colors

only display colors if output medium supports colors