Why is htop not displaying colors only for my local machine?

In my case TERM=xterm htop worked