Skip to content

shadows

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('shadows', {seed = 'player-42'})
local options = dicebear.describe('shadows').options

Components

heads

  • Variant option: headsVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: headsProbability. Range 0–100; default 100.
Variant Tags
oval —
round —
tall —
taper —
wide —

shoulders

  • Variant option: shouldersVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: shouldersProbability. Range 0–100; default 100.
Variant Tags
narrow —
regular —
round —
sloped —
square —
uneven —
wide —

tops

  • Variant option: topsVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: topsProbability. Range 0–100; default 76.
Variant Tags
afro —
beanie —
bowler —
braid —
bun —
curls —
flat —
hat —
puffs —
quiff —
topknot —
tuft —
waves —

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

#d0edec, #d6eddf, #deedc2, #dfe8ed, #e3e6ed, #e8e4ed, #ede3e9, #ede4e0, #ede4e4, #ede6d6

inkColor

#33477f, #335565, #345757, #345945, #3b3b42, #4a5530, #5b4e30, #5e3b87, #6b4630, #733662, #7b373f