[color] disable color when not running on a terminal