Favicon Guidance for 2021: Six Files That Cover Most Sites
Chris Coyier highlights Andrey Sitnik's re-evaluation of favicon best practices, noting that favicons are something every website needs yet come with a complex set of requirements. The recommended set, in short, is six files designed to suit most needs.
Coyier applied the guidance to CSS-Tricks while writing the post and reports it has worked well so far. He admits that favicon complexity once wore him down to an ultra-minimalist approach: a lone favicon.ico file. The full set is now in place.
Where Coyier's Setup Diverged
- Without GIMP or Inkscape installed (both can export
.ico), he used the RealFaviconGenerator, feeding it his main SVG, just for that one icon. - He found Figma helpful for resizing frames and exporting the correct sizes.
- ImageOptim handled optimization of all the images.
- He was hesitant about adding a manifest because no other PWA-like steps are in place and it feels like an extra web request for little value—but he added it anyway.
- He includes a theme color (
<meta name="theme-color" content="rgb(255, 122, 24)">), which he was told is a nice touch. It feels related.
Coyier calls the dark mode SVG concept a favorite, but skipped any trickery there since his icon looks fine either way without changes. He has also not yet made a development-only favicon again, though he plans to because he finds it extremely handy.



