only perform color lookup for colored terminals