You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi! love this library! thanks for all your hard work :)
ran into a bug — culori parses hsla (per https://www.w3.org/wiki/CSS3/Color/HSLA) expecting alpha to be 0-255, when the spec specifies 0-1, so other things like react-colorful provide an alpha value that culori incorrectly processes
hi! love this library! thanks for all your hard work :)
ran into a bug — culori parses hsla (per https://www.w3.org/wiki/CSS3/Color/HSLA) expecting alpha to be 0-255, when the spec specifies 0-1, so other things like react-colorful provide an alpha value that culori incorrectly processes
https://codesandbox.io/s/fervent-http-21ywl?file=/src/App.js
hsla(219, 34%, 46%, 1)
becomes
{"mode":"hsl","h":219,"s":0.34,"l":0.46,"alpha":0.00392156862745098}
instead of
{"mode":"hsl","h":219,"s":0.34,"l":0.46,"alpha":1}
The text was updated successfully, but these errors were encountered: