Since most xterm -s are painted these days, I would assume that the terminal has 256 colors, otherwise the script will accept a parameter (possibly -monochrome or -no-colors ).
By the way, I also see the reason why some force user can force -monochrome behavior: with very slow connections (think about intercontinental ssh ), it would be useful to disable colors to reduce bandwidth.
source share