Name | Type | Optional | Default |
---|---|---|---|
🔑 token | string | false | n/a |
↔️ size | integer | true | 128 |
🖼️ format | string | true | jpg |
💡 theme | string | true | auto |
⚫️ greyscale | boolean | true | false |
⛓️💥 fallback | string | true | monogram |
jpg
formatted.
https://img.logo.dev/shopify.com
https://img.logo.dev/shopify.com?format=png
https://img.logo.dev/shopify.com?greyscale=true
theme
parameter automatically adjusts logos for optimal visibility on different backgrounds. When set to dark
, it inverts logos with dominant light colors (like white) to ensure they’re visible on dark backgrounds. Conversely, theme=light
inverts dark logos for light backgrounds. This feature only works on images with transparency.
https://img.logo.dev/github.com?theme=dark&format=png
https://img.logo.dev/github.com?theme=light&format=png
jpg
and png
.
https://img.logo.dev/shopify.com?size=80
retina=true
parameter doubles the source image resolution (160px) while displaying at the specified size (80px), creating sharp images on high-density displays. Without this parameter, logos may appear blurry.
200 OK
.
https://img.logo.dev/example.com
fallback=404
to recieve an empty response and HTTP Status Code 404 Not Found
.