Hacker News new | more | comments | ask | show | jobs | submit login

Damn this is cool. It's kinda amazing that it is all done in a few hundred lines of code. I see there is a skinColor method and setting defined as

    skinColor: [0.78, 0.57, 0.44]
I was curious how it worked with darker skin (I admittedly don't understand what the numbers mean without further analysis), and It came out pretty well (it may default on lighter skin, i don't know)

http://imgur.com/a/CKUIo

images found on google




Almost all skin colors, e.g. black and white, have the same chroma. Only the brightness changes. I have worked on video projects that took advantage of this to have skin-color auto-adjustment.


Assuming it's RGB, it comes out as (what I perceive as) a pretty mid-range skin color, #c79170:

http://imgur.com/zzOUnRn




Applications are open for YC Summer 2019

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: