Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
meodai
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
meodai
1y ago
Wonder no longer: https://codepen.io/meodai/full/zdgXJj/ Color distribution of Color-Names in various color models
32.
▲
by
meodai
1y ago
Thanks for the feedback. For now you would have to do the conversion yourself, but I plan to store the names in a more absolute format like xyz…
33.
▲
by
meodai
1y ago
The API provides plenty of lists that should fit your less ‘nonsensical’ needs.
34.
▲
by
meodai
1y ago
nước đái I use it for all kinds of color generators.
35.
▲
by
meodai
1y ago
If you scroll down a bit, you will see that the api provides all kind of lists, there are plenty that are more descriptive or simpler depending on what you are going for.
36.
▲
by
meodai
1y ago
I provide all kind of name lists. Depends a lot on what you are trying to accomplish. But there are plenty of lists providing more recognizable ones.
37.
▲
by
meodai
1y ago
Unfortunately most of the names are pretty bad.
38.
▲
by
meodai
1y ago
Because a) I keep adding names and b) the list weights over 1mb https://github.com/meodai/color-names
39.
▲
by
meodai
1y ago
yes! but I could add a second button at the footer. (it also respects the reduced motion flag, if you set it in your OS)
40.
▲
by
meodai
1y ago
I just did, using `npx palette-aldente hn-colors.yml --formats name --namelist bestOf`: https://codepen.io/meodai/pen/ByNqbKE
41.
▲
by
meodai
1y ago
That's great to hear! I've gotten some very positive feedback from sight-impaired users for this little tool that uses the API: https://words.github.io/color-description/ — it turns colors into descriptive te
42.
▲
by
meodai
1y ago
PS: I've added a section to the Readme: https://github.com/meodai/color-name-api?tab=readme-ov-file#...
43.
▲
by
meodai
1y ago
nice its very addicting :D
44.
▲
by
meodai
1y ago
Thanks! Good question – it's mostly about readability and communication. Hex codes are precise but not intuitive. Names give context, like saying “salmon” instead of #fa8072. That’s helpful in design tools, UI previews, generative art,
45.
▲
by
meodai
1y ago
Oh I mostly use it for my own apps – it just feels more human-readable than hex codes. But yeah, you're right, I should add some example use cases to the readme! Like here: https://farbvelo.elastiq.ch/ or https:/
46.
▲
by
meodai
1y ago
CIEDE2000 ΔE: https://github.com/meodai/color-name-api/blob/main/src/close...
47.
▲
by
meodai
1y ago
ah nice thanks! il change it
48.
▲
by
meodai
1y ago
thanks for letting me know
49.
▲
by
meodai
1y ago
Polar Lines -> poline
50.
▲
Show HN: A color name API that maps hex to the closest human-readable name
(meodai.github.io)
97 points
by
meodai
1y ago
|
52 comments
51.
▲
by
meodai
1y ago
My process was honestly a lot of: “oh, that looks good.” That’s what I meant by “not backed by science” — I didn’t even try to base it on color theory. Thanks so much for the treasure trove of references — can’t wait to sink my teeth into i
52.
▲
by
meodai
1y ago
thanks! Collecting them has been my hobby for the past few years: https://github.com/meodai/color-names
53.
▲
by
meodai
1y ago
thanks! that means a lot
54.
▲
by
meodai
1y ago
To those not into the mythical vibe: I totally get it. I stumbled onto something that looked good by accident and thought it’d be fun to lean into the mystical theme — especially since there’s no real science or theory behind it (that I kno
55.
▲
by
meodai
4y ago
I could definitely add this somewhere :D
56.
▲
by
meodai
4y ago
I did scroll to the veery bottom
57.
▲
by
meodai
4y ago
good point let me add that
58.
▲
by
meodai
4y ago
should be fixed now right?
59.
▲
by
meodai
4y ago
thank so much for this comment!
60.
▲
by
meodai
4y ago
try changing the Position Function to "linear"
More ›