If the terminal supports color, this returns the the number of colors.
the number of colors supported (max 256), or 0 if monochrome
See Implementation
If the terminal supports color, this returns the the number of colors.