/faviconV2?url=https://google.com&size=128&color=4285f4 (optional)
4285f4
24292e
1da1f2
How it works: The endpoint extracts the first letter from your domain, assigns a random background color (or your custom color), and returns an SVG image ready to use as a favicon or avatar.
Parameters:
| Parameter | Description | Example |
|---|---|---|
| url | Domain to generate the favicon for | https://google.com |
| size | Output size in pixels (default: 256) | 128 |
| color | Custom HEX color (optional, random if omitted) | 4285f4 |
Popular color examples:
# Google Blue
?url=google.com&color=4285f4
# GitHub Dark
?url=github.com&color=24292e
# Twitter Blue
?url=twitter.com&color=1da1f2
# YouTube Red
?url=youtube.com&color=ff0000
# Spotify Green
?url=spotify.com&color=1db954