added support for rgb and hsl colors