added support for color codes