tylergaw / colorme

Visualize CSS Color Functions?
https://colorme.io
MIT License
316 stars 14 forks source link

Tint, Shade, and Contrast Adjusters interfere with Alpha Adjuster value #3

Closed tylergaw closed 7 years ago

tylergaw commented 7 years ago

Issue:

If the tint or shade adjusters are applied, they override any value set for the alpha adjuster.

For example:

color(#fff a(0%) tint(90%))

produces:

rgba(255, 255, 255, 0.19999999999999996)

I'm think this is a bug in the css color function package https://github.com/ianstormtaylor/css-color-function