Detect support for colors in shell output