Hacker News new | past | comments | ask | show | jobs | submit login

So, where's the code? I want an algorithm that I can use in any software, not a web form.



This is the library the author references. I’ve used it myself and it works great

https://github.com/gka/chroma.js


It would be nice if this was packaged into R...if only I had time. I really dislike a lot of R color palettes.


In this thread, the author suggests that they'd use Oklab[1] if they were to write the article today. Oklab was introduced in [2], and the code in that article is really easy to use.

[1]: https://news.ycombinator.com/item?id=37310534

[2]: https://bottosson.github.io/posts/oklab/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: