Skip to content

Adventurer neutral - allow skin color adjustments #220

Closed Answered by FlorianKoerner
mortetm asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mortetm

you can use the backgroundColor option to set the skin color.

HTTP-API

https://avatars.dicebear.com/api/adventurer-neutral/your-custom-seed.svg?backgroundColor=%23ff0000

JS-Library

import { createAvatar } from '@dicebear/avatars';
import * as style from '@dicebear/adventurer-neutral';

const avatar = createAvatar(style, {
  seed: 'your-custom-seed',
  backgroundColor: ['#ff0000']
});

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by FlorianKoerner
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #219 on May 28, 2022 15:38.