Market
Pricing
Sign inStart
Field GuideCSS and web
CSS and web

Favicon design: tiny icons that still look like you

Your favicon is the most repeated piece of your brand and the smallest. It has to survive at 16 pixels, on light and dark tabs, next to fifty other sites. Here is how to make it hold up.

GradientlyVerified Gradiently account·October 1, 2026·5 min read
Cover: Cold Scroll · GR·F14W·CM

The short version

  • A favicon is the small icon that represents a website in browser tabs, bookmarks, history, home screens and search results.
  • A modern minimal set is a 32×32 favicon.ico, an SVG icon, a 180×180 Apple touch icon, and 192×192 and 512×512 PNGs in a web app manifest.
  • Google Search shows a site's favicon next to results and asks for a square icon, ideally larger than 48×48 pixels.
  • Favicons work best as one bold shape or letter with strong contrast, because detail disappears at 16 pixels.
  • An SVG favicon can switch colours for dark mode with a media query inside the file.
On this page
Favicon sizes and files you actually needHow to add a favicon to your siteDesigning a favicon that reads at 16 pixelsColour and gradients in a tiny iconDark mode favicons with SVGA quick favicon checklist

A favicon is the small square icon that stands for your website in browser tabs, bookmarks, history, phone home screens and Google results. It is often shown at just 16 or 32 pixels, so good favicon design is ruthless: one bold shape or letter, high contrast, no fine detail. Technically you need only a handful of files, a 32×32 ICO, an SVG, a 180×180 Apple touch icon and two manifest PNGs, plus a few lines of HTML.

Favicon sizes and files you actually need

Old guides list twenty sizes. Modern browsers resize well, so a short set covers every place a favicon appears. This follows the approach recommended on web.dev for manifests and current browser behaviour for the rest.

favicon.ico

Size

32×32

Used by

Older browsers, and anything that requests /favicon.ico directly
icon.svg

Size

Scalable

Used by

Current browsers that support SVG favicons; can adapt to dark mode
apple-touch-icon.png

Size

180×180

Used by

iPhone and iPad home screens and Safari bookmarks
icon-192.png

Size

192×192

Used by

Android home screen, via the web app manifest
icon-512.png

Size

512×512

Used by

Android splash screens and app installs, via the manifest
FileSizeUsed by
favicon.ico32×32Older browsers, and anything that requests /favicon.ico directly
icon.svgScalableCurrent browsers that support SVG favicons; can adapt to dark mode
apple-touch-icon.png180×180iPhone and iPad home screens and Safari bookmarks
icon-192.png192×192Android home screen, via the web app manifest
icon-512.png512×512Android splash screens and app installs, via the manifest
Five files. Put them at the root of your site, or anywhere, as long as the HTML points to them.

Google Search also shows favicons beside results. Its favicon guidelines ask for a square icon, recommend one larger than 48×48 pixels, and say it should represent your brand. The 192 and 512 PNGs both qualify; check that page before launch, because Google revises it.

How to add a favicon to your site

html
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/manifest.webmanifest">
Goes in the head of every page. Browsers that understand SVG prefer it; others fall back to the ICO.
json
{
  "name": "Studio Nine",
  "icons": [
    { "src": "/icon-192.png", "type": "image/png", "sizes": "192x192" },
    { "src": "/icon-512.png", "type": "image/png", "sizes": "512x512" },
    { "src": "/icon-mask.png", "type": "image/png", "sizes": "512x512", "purpose": "maskable" }
  ]
}
A minimal manifest.webmanifest. The maskable icon is optional and lets Android crop it into its own shapes.

Maskable icons need padding

Android may crop a maskable icon to a circle, squircle or rounded square. Keep the important part inside the central circle, about 80% of the width, and fill the rest with background colour.

Designing a favicon that reads at 16 pixels

At 16 pixels you have 256 dots. A full wordmark becomes a grey smudge, thin strokes vanish and two similar colours merge. The favicons people recognise instantly are almost always one of three things: a single letter, a simple symbol, or a solid shape in a distinctive colour.

N

One heavy letter on a strong background. It still reads when the browser shrinks it to 16 pixels.

Studio Nine Ceramics

The full name looks fine at 512 pixels and becomes unreadable texture at 16. Save it for the page itself.

Avoid

  • The full logo with its wordmark
  • Hairline strokes and small counters
  • Two close colours that blur together
  • Detail that runs right to the edges
  • A transparent icon that disappears on dark tabs

Do

  • One letter, monogram or symbol
  • Strokes at least 2 pixels thick at 32×32
  • A strong contrast between shape and background
  • Fill most of the square, with a little padding
  • Test on light and dark browser themes

Colour and gradients in a tiny icon

Colour does more work than shape at this size, because it is what people scan for along a row of tabs. A recognisable brand colour beats a clever symbol. Gradients can work if they are bold and short: two stops with a clear difference in lightness read as a lit surface, while a subtle multi stop blend just looks muddy at 16 pixels.

Favicon backgrounds need a clear lightness change and a confident hue. The last one disappears against a light tab bar.

If your brand already has a signature background, a crop of it can make a distinctive favicon tile. Gradiently Marks are useful here: the same look that runs behind your posts can sit behind a single letter at 512×512, so the tab and the feed feel like one brand. Make sure the letter keeps strong contrast against the tile, as covered in logo on gradient background.

Dark mode favicons with SVG

A black icon disappears on a dark tab bar, and a white one on a light bar. Because an SVG favicon is a little document, it can carry its own media query and switch colours with the browser's theme.

html
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
  <style>
    rect { fill: #1e1b4b; }
    path { fill: #ffffff; }
    @media (prefers-color-scheme: dark) {
      rect { fill: #e0e7ff; }
      path { fill: #1e1b4b; }
    }
  </style>
  <rect width="32" height="32" rx="7"/>
  <path d="M9 24V8h3l8 10V8h3v16h-3l-8-10v10z"/>
</svg>
Save as icon.svg. A rounded tile with a letter N that inverts its colours in dark mode.

A solid tile behind the symbol is the simplest insurance: it reads on any background, light or dark, without relying on the media query. SVG vs PNG explains why the vector file is the one to keep.

A quick favicon checklist

  1. 1

    Start from your logo's simplest part

    A monogram, the first letter or the symbol alone. Logo variations covers building a small version on purpose.

  2. 2

    Draw it at 32×32 first

    Design on the small grid and scale up, not the other way round. Thick strokes, generous gaps.

  3. 3

    Export the five files

    ICO at 32×32, SVG, 180×180 Apple touch icon, 192 and 512 manifest PNGs.

  4. 4

    Test in real tabs

    Open your site next to ten others, in light and dark themes. If you can't find your tab in a second, simplify.

The favicon sits beside your Open Graph image and social profile pictures as the small, constant signals of a brand. Keep them consistent, and see logo sizes for the full kit.

Find a gradient that’s only yours

Browse thousands of Marks, design with any of them for free, and claim the one that feels like you.

Browse the Market

Questions people ask

What size should a favicon be?

Provide a 32×32 favicon.ico, an SVG, a 180×180 Apple touch icon, and 192×192 and 512×512 PNGs in a manifest. Browsers pick and resize from these.

How do I add a favicon to my website?

Upload the icon files and add link rel="icon" and link rel="apple-touch-icon" tags to the head of every page, plus a manifest link for Android.

Why is my favicon not showing in Google?

Google needs a square favicon, ideally larger than 48×48 pixels, linked from your home page and crawlable. It can take some time to update after you change it.

Can a favicon be an SVG?

Yes, current browsers that support SVG favicons will use it and it stays sharp at every size. Keep a favicon.ico as a fallback.

Should my favicon be my full logo?

Usually not. Use one letter, a monogram or the logo's symbol, because a full wordmark is unreadable at 16 pixels.

Share this guide

Written by GradientlyVerified Gradiently account

The team behind Gradiently, a design tool built around Marks: living gradients that make everything you design look like yours.

See our profile

On this page

Favicon sizes and files you actually needHow to add a favicon to your siteDesigning a favicon that reads at 16 pixelsColour and gradients in a tiny iconDark mode favicons with SVGA quick favicon checklist

Share this guide

Next in CSS and web

Hero section design: the first screen of your website

Keep reading

All CSS and web guides
CSS and web

SVG vs PNG: vector or pixels for logos and graphics

5 min read

An SVG is a set of drawing instructions. A PNG is a fixed grid of dots. That one difference decides which file belongs on your website, your packaging and your Instagram.

Branding

Logo sizes for websites, socials and print

6 min read

People ask for the right logo size as if there were one number. There isn't: there is one master file and a sensible size for every place it lands. Here are those places, with the canvas sizes and the files to use.

Branding

Logo variations: primary, stacked, icon and mono

5 min read

One logo cannot fit a wide banner, a tiny circle and a rubber stamp. A small family of logo variations can. This is the set most brands need, and the rules that keep it looking like one logo.

Find the look that’s only yours.

Every Mark is a living background with one owner. Try an unclaimed Mark, and claim yours when it feels right.

Start designing

Check a certificate

Type a certificate number or a Mark’s code to see who owns it.

Works with ChatGPT and Claude

Ask your AI for a design. It makes it in your Mark, ready to edit.

ChatGPTClaude
How to connect

Product

  • Market
  • Explore
  • Pricing
  • Certificates

Learn

  • Field Guide
  • Help centre
  • What’s new

Developers

  • Overview
  • ChatGPT and Claude
  • API reference
  • API keys

Company

  • About
  • Contact us
  • Sign in

Legal

  • Terms
  • Privacy
  • Refunds
  • Mark protection
  • Cookies
  • All policies
Move through the letters. Each one wears a real Mark.Touch a letter to see its Mark.One name. Ten Marks inside it.
© 2026 Gradiently