Lurker News
Hello HN!

I found that picking out plausible but diverse skin tones for my digital art and game development projects was kind of difficult, and I got curious about if there was a way to define a color space that made it easy.
I've built a color picker and procedural generation algorithm based on the space as well as a bunch of other fun js features and demos throughout the page that use the equations. If you find it interesting, I have lots of explanations of how I built it and what properties the space has.
The methodology might be a bit shaky, but hopefully the result is as helpful for others as I have found it! There's lots of room for improvements (see the Future Work section), but I'm really happy with how it turned out.

Comments (99) 54 threads

Earlier comments
efitz#
Never seen anyone #E6FFF8 (bottom right corner).

An albino that consumed too much colloidal silver for years?

kazinator#
Feature request: drop-down list of ethnicities, where the selection turns on specific guard rails in the parameter space (or retains full movement of the controls, but scales the values). Or is that too racist for 2026?
peepsick#
I really like the idea of treating a color space as a task-specific optimization rather than something universal. It makes me wonder if we're underusing domain-specific color spaces in procedural generation in general.
zetanor#
Setting R² to various large values like 50, 500 and 5000 then moving the slider around seems to give a decent and simple visual representation of what's happening.

Load more comments