tesk9 / palette

Define, blend, and generate Colors and Palettes in Elm.
https://package.elm-lang.org/packages/tesk9/palette/latest
BSD 3-Clause "New" or "Revised" License
28 stars 2 forks source link

Alpha channel #6

Closed tesk9 closed 5 years ago

tesk9 commented 5 years ago

What would transparency be used for? Is it useful to have first-class support...?

tesk9 commented 5 years ago

Working on this currently. Before release, I need to do more research on how opacity changes impact the luminance/contrast calculations.

tesk9 commented 5 years ago

WCAG 2.1 issue related to luminance calculation https://github.com/w3c/wcag21/issues/571