‹ BackHN Continuity

Thread

Show HN: Simple algorithm and color space to generate diverse skin tones

619 points · 100 comments · automatoney

  1. andai · · focus · HN ↗
    Nice. Most of these colors look right to me, but I'm also seeing green, blue and purple? If you're curating colors from the space manually then it's not a problem.

    "Only realistic colors" would be a different problem. And I'm not sure if there's a way to solve that problem without excluding some real colors too.

    (Maybe if the colour selector was a different shape? I don't know much about color spaces.)

    1. automatoney · · focus · HN ↗
      Yes absolutely right on - I mention much deeper in the page that in a picker UI you can use a bigger range, but that in a generation context you might want to be a bit more selective. I go into it a bit more when I explain what R^2 is.

      "not sure if there's a way to solve that problem without excluding some real colors too" - 100% right on that too. A big part of this work was to define a way to tweak/improve the equations in order to approach a solution to these issues - part of my hope in sharing is to get more eyes and brains thinking about this and proposing improvements!

      1. compass_copium · · focus · HN ↗
        I would have "show sphere" on by default--this kind of threw me at first, too.

        This is a really nice project. Great work and a great write-up. Thanks for sharing.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.