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
LeaVerou
changed the title
oklab and oklch do not accept percentages for lightness
oklab and oklch do not accept plain numbers for lightness
Oct 20, 2022
LeaVerou
changed the title
oklab and oklch do not accept plain numbers for lightness
oklab() and oklch() do not accept plain numbers for lightness
Oct 20, 2022
Lines to be changed:
https://github.com/LeaVerou/color.js/blob/main/src/spaces/oklab.js#L71
https://github.com/LeaVerou/color.js/blob/main/src/spaces/oklch.js#L65
Lab and LCH are fine:
https://github.com/LeaVerou/color.js/blob/main/src/spaces/lab.js#L71
https://github.com/LeaVerou/color.js/blob/main/src/spaces/lch.js#L64
The text was updated successfully, but these errors were encountered: