‹ BackHN Continuity

Thread

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

616 points · 100 comments · automatoney

  1. s1mon · · focus · HN ↗
    It's always entertaining to try to understand these things from first principles. Color and skin color in particular are very complex things to measure and model. It's not just a physical quantity, it's also a matter of human perception based on lighting and a host of factors.

    It seems like some work was done to research existing approaches, but I don't see any reference to Pantone Skin Tones [0]. Without intending to, I've worked on 3 different projects which involved measuring skin tones for makeup applications. The Pantone range is not 100% perfect, but it's pretty well done and easy to understand. There are two axes: a light/dark one, and red-yellow one [1].

    [0] <a href="https:&#x2F;&#x2F;www.pantone.com&#x2F;na&#x2F;en-us&#x2F;skintone" rel="nofollow">https:&#x2F;&#x2F;www.pantone.com&#x2F;na&#x2F;en-us&#x2F;skintone

    [1] <a href="https:&#x2F;&#x2F;cosmeticsbusiness.com&#x2F;pantone-skintone-guide-80945" rel="nofollow">https:&#x2F;&#x2F;cosmeticsbusiness.com&#x2F;pantone-skintone-guide-80945

    1. ptmkenny · · focus · HN ↗
      There&#x27;s also the Monk Skin Tone Scale by Dr. Monk and Google (available under a CC attribution 4.0 international license). It was developed for machine learning, so it&#x27;s not exactly the same use case, but it provides 10 colors in a variety of formats, including hexadecimal. <a href="https:&#x2F;&#x2F;skintone.google&#x2F;get-started" rel="nofollow">https:&#x2F;&#x2F;skintone.google&#x2F;get-started
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.