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
PullJosh#
I love this! Such a beautiful use of some real nerdy math to benefit humans in a way non-nerds would appreciate.
szvsw#
You mention a bit about the latent social forces embedded within technological development and how that has related to skin tones and the technologies of color reproduction, so I figured I would share some references:

https://canopycanopycanopy.com/contents/color-goes-electric
The Kodak “Shirley cards” and test shots are of course famous in the media theory world for how they baked notions of race and “standard” or “normal” conditions into the medium of photography. Not dissimilar from the various discussions around facial recognition from approximately 10 yr ago.

rrradical2 replies#
Very neat project. Could I use this code to generate skin tones in my own project? Or more meant to just be educational/inspirational? I guess I'm wondering if you've considered adding a license.
automatoney#
Good catch, added MIT license - feel free to use it! On top of that, my understanding is that math/equations are not subject to copyright, so the core part of this work (the equations/ideas) I think legally has 0 limitations - even if there were a restrictive license. But IANAL so might have some misconceptions.
1-6#
I'm using an iPhone Safari plugin called Noir to force darkmode and your tool is making white the absence of color. In other words, I think white is just an alpha channel.

Load more comments