Skip to content

marbles

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

Components

blend

  • Variant option: blendVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: blendProbability. Range 0–100; default 100.
Variant Tags
core —
dawn —
drift —
dusk —
swell —
tide —

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
closed —
dots —
happy —
oval —
sleepy —
squint —
uneven —
wide —
wink —

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
cat mood:positive
grin mood:positive
jagged mood:positive
line —
open —
pout mood:negative
small mood:positive
smile mood:positive
smirk mood:positive
tongue mood:positive
wavy mood:negative

nose

  • Variant option: noseVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: noseProbability. Range 0–100; default 75.
Variant Tags
hook —
tick —

top

  • Variant option: topVariant. Accepts a name, allowed-name array, or weight map; {} hides it.
  • Visibility option: topProbability. Range 0–100; default 100.
Variant Tags
afro hairLength:long
antenna hairLength:short
beanie headwear:beanie
bow hairLength:bald, headwear
cap hairLength:short
cowlick hairLength:short
crimp hairLength:medium
curl hairLength:short
curls hairLength:short
flick hairLength:short
garland hairLength:short
headphones hairLength:bald, headwear
knot hairLength:short
ringlets hairLength:short
shag hairLength:medium
spikes hairLength:medium
sunhat headwear:hat
swirl hairLength:short
tuft hairLength:short
zigzag hairLength:short

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

#f8f7f4

blendColor

#17cde9, #17d2c7, #18d79b, #5ac3fe, #68d54e, #8eb8fe, #aeadfe, #b3c414, #d19dfe, #dbb313, #fc9f13, #fe81ef, #fe8fba, #fe9596, #fe9a6e

bloomColor

#ffffff

inkColor

#161616, #1c1b22, #231a12

sphereColor

#17cde9, #17d2c7, #18d79b, #5ac3fe, #68d54e, #8eb8fe, #aeadfe, #b3c414, #d19dfe, #dbb313, #fc9f13, #fe81ef, #fe8fba, #fe9596, #fe9a6e

tintColor

#87f2f8, #9df3cc, #bde4fd, #cbeba3, #d3ddfd, #e9d4fd, #f6dd90, #fdcee8, #fdd2d1, #fdd5b9