check if terminal supports colored output