detect

Detects the color support of the current terminal environment.