added support for color formats.