Detect if the output terminal supports colors or not