added support for RGBCOLOR macro