gka/palettes

Support more color representations

Opened this issue · 0 comments

This is a feature request

Support for other color representations would be great, e.g. rgb(), rgba(), hsl(), hsla(). https://developer.mozilla.org/en-US/docs/Web/CSS/color_value

Right now some of them get parsed but into something wrong. E.g. rgb(255, 0, 153, 1) will get parsed as #115533 while it is #FF0099.