Hacker News new | ask | show | jobs
by culi 1304 days ago
that's awesome. I made a somewhat similar toy[0] a while ago in vanilla js (checkmark `color2nearestname` at the top). I've been meaning to try my hand at this again, but while allowing the user to choose the palette. Namely I was thinking of these definitions:

1. CSS named colors

2. Open Props' colors[1]

3. Tailwind colors

4. XKCD's color survey results[2]

A different project sent me on a deep dive into the concept of color distances and how that can work across different spaces though so I'm afraid any other color-related projects would paralyze me with feature creep at this point though haha

---

.. [0] https://culi.page/toys/

.. [1] https://yeun.github.io/open-color/

.. [2] https://xkcd.com/color/rgb/