Implement generic color support for terminals