Skip to content

toon-head

Exact style-specific options from the bundled definition. Use these alongside the shared avatar options and core API. Back to the style catalog and licenses.

local dicebear = require('love_dicebear')
local svg, settings = dicebear.generate('toon-head', {seed = 'player-42'})
local options = dicebear.describe('toon-head').options

Components

beard

  • Variant option: beardVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: beardProbability. Range 0–100; default 50.
Variant Tags
chin facialHair
chinMoustache facialHair
fullBeard facialHair
longBeard facialHair
moustacheTwirl facialHair

body

  • Variant option: bodyVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: bodyProbability. Range 0–100; default 100.
Variant Tags
body —

clothes

  • Variant option: clothesVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: clothesProbability. Range 0–100; default 100.
Variant Tags
dress —
openJacket —
shirt —
tShirt —
turtleNeck —

eyebrows

  • Variant option: eyebrowsVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: eyebrowsProbability. Range 0–100; default 100.
Variant Tags
angry mood:negative
happy mood:positive
neutral mood:positive
raised mood:positive
sad mood:negative

eyes

  • Variant option: eyesVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: eyesProbability. Range 0–100; default 100.
Variant Tags
bow —
happy —
humble —
wide —
wink —

hair

  • Variant option: hairVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: hairProbability. Range 0–100; default 100.
Variant Tags
bun —
sideComed —
spiky —
undercut —
  • Variant option: headVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: headProbability. Range 0–100; default 100.
Variant Tags
head —

mouth

  • Variant option: mouthVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: mouthProbability. Range 0–100; default 100.
Variant Tags
agape —
angry mood:negative
laugh mood:positive
sad mood:negative
smile mood:positive

rearHair

  • Variant option: rearHairVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: rearHairProbability. Range 0–100; default 50.
Variant Tags
longStraight hairLength:long
longWavy hairLength:long
neckHigh hairLength:medium
shoulderHigh hairLength:long

Color palettes

Each option accepts a hex color or palette array. An empty table is transparent. Bundled contrast and exclusion rules can affect the seeded choice.

backgroundColor

No bundled palette; omitted values resolve to transparency.

clothesColor

#0b3286, #147f3c, #151613, #545454, #731ac3, #b11f1f, #e8e9e6, #eab308, #ec4899, #f97316

hairColor

#2c1b18, #724133, #a55728, #b58143, #d6b370

skinColor

#5c3829, #a36b4f, #b98e6a, #c68e7a, #f1c3a5

strokeColor

#000000