Skip to generator
Veomark

Free · Instant · No signup

Favicon Dark/Light Mode Variant Generator

Favicon Dark/Light Mode Variant Generator generates favicon <link> tags that switch by prefers-color-scheme. Two <link rel="icon"> tags, each scoped with a media="(prefers-color-scheme:.)" query, so browsers that support it show the light or dark icon automatically.

Page updated 2026-09-14.

Favicon Dark/Light Mode Variant Generator visual
Sponsored

Calculator

Live preview

Sponsored

What this generates

This page generates favicon tags that switch by prefers-color-scheme. Two tags, each scoped with a media="(prefers-color-scheme:.)" query, so browsers that support it show the light or dark icon automatically.

Change the fields above and the output updates live -- copy it once you're happy with the result.

Related tools

See the Favicon HTML Tag Builder & Manifest Generator for a related effect.

Frequently Asked Questions (FAQ)

What does this generator actually output?

It generates favicon tags that switch by prefers-color-scheme. Two tags, each scoped with a media="(prefers-color-scheme:.)" query, so browsers that support it show the light or dark icon automatically.

Does this send anything to a server?

No. The snippet is built in your browser from the fields you fill in. Nothing is uploaded, logged, or sent anywhere.

Can I use this output directly in production CSS?

Yes -- copy the output into your stylesheet or component. Adjust class names and selectors to match your project's naming, since the generated selectors are generic placeholders.