omgovich / colord

👑 A tiny yet powerful tool for high-performance color manipulations and conversions
https://colord.omgovich.ru
MIT License
1.63k stars 48 forks source link

Add support for modern color syntax #99

Open mattpilott opened 1 year ago

mattpilott commented 1 year ago

In CSS you can write hsl like so hsl(0 0% 0% / 0.5) without the commas or hacing to use hsla

Can this format be supported?

stephenkoo commented 1 year ago

Hey @mattpilott, curious why you closed this. I, too, would like to toHslString & toRgbString to use modern syntax

mattpilott commented 1 year ago

Can't recall why i closed this, reopened!