
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
Change the skin tone of an emoji πππ»ππΌππ½ππΎππΏ
Change the skin tone of an emoji πππ»ππΌππ½ππΎππΏ
The Fitzpatrick scale is used to specify skin tones for emoji characters which represent humans.
npm install skin-tone
import skinTone from 'skin-tone';
skinTone('π', 'brown');
//=> 'ππΎ'
skinTone('π', 'white');
//=> 'ππ»'
// Can also remove skin tone.
skinTone('ππΎ', 'none');
//=> 'π'
// Just passes it through when not supported.
skinTone('π¦', 'darkBrown');
//=> 'π¦'
Type: string
Emoji to modify.
Type: 'none' | 'white' | 'creamWhite' | 'lightBrown' | 'brown' | 'darkBrown'
Skin tone to use for emoji.
'none' : (Removes skin tone)'white' : π» (Fitzpatrick Type-1β2)'creamWhite' : πΌ (Fitzpatrick Type-3)'lightBrown' : π½ (Fitzpatrick Type-4)'brown' : πΎ (Fitzpatrick Type-5)'darkBrown' : πΏ (Fitzpatrick Type-6)Skin tone to use for emoji.
FAQs
Change the skin tone of an emoji πππ»ππΌππ½ππΎππΏ
The npm package skin-tone receives a total of 4,606,391 weekly downloads. As such, skin-tone popularity was classified as popular.
We found that skin-tone demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.