3 ms·
Edit: The article was updated. Ignore me. > you should probably default to interpolating in Oklab instead The article says as much. Quoting: > This can be a
by omnicognate 1y ago
Edit: The article was updated. Ignore me.
> you should probably default to interpolating in Oklab instead
The article says as much. Quoting:
> This can be a double edged sword. While some gradients might look smoother, you might also see colors that you've never defined. This is because hue in OKLCH is circular and gradients can take unexpected detours.
> To avoid this, many tools use OKLAB for gradients, which interpolates in a straight line and gives more consistent results.
- jayrhynas 1y agoI was going to point that out too until I realized that the author updated the article based on the parent comment! https://news.ycombinator.com/item?id=45013291 https://news.ycombinator.com/item?id=45013291
- omnicognate 1y agoHa! Well spotted.