moved color support to its own file