avh4 / elm-color

Standard representation of colors, encouraging sharing between packages. (This replaces elm-lang/core#Color from Elm 0.18.)
BSD 3-Clause "New" or "Revised" License
23 stars 6 forks source link

Add hsla color space #21

Open peacememories opened 5 years ago

peacememories commented 5 years ago

Hi :)

I'm really interested in having one solution for color in the Elm ecosystem. One package I'd like to see use elm-color is tesk9/palette because it has a nice api for accessibility. The thing is, palette uses a Color type that can have both an hsl and an rgb representation. So to change the package to use elm-color there would have to be support for an hsla color space. Is this planned?

avh4 commented 4 years ago

Hi, sorry for the slow reply!

Yes, there's currently hsla support: