Made By Nathan
  • Blog
  • Puzzles
  • DocSpring
web-design

Creating a new favicon with text-to-image AI

Nathan Broadbent

Nathan Broadbent

02 Oct 2022 — 3 min read

It's been a while since I wrote a blog post about creating a favicon.ico file for your website or blog. Things have changed a bit since I wrote that blog post in May 2010.

I've been updating the CSS for my blog recently, and I wanted to update the favicon. Here's the old green square icon that I was using before:

My old green square favicon

I wanted something a bit more interesting, so I tried using some of the new text-to-image AI tools that have been getting a lot of attention lately. I used Midjourney and DALL·E 2. (Midjourney uses Stable Diffusion.)


I played around with some different prompts in Midjourney and DALL·E 2, and I iterated on a few different ideas. I enjoy spending time in Midjourney's shared Discord channels (e.g. #general-*), where you can see what other people are doing and get some inspiration for prompts.

Midjourney shared chat channel general-4

Here's a few examples of the prompts that I was trying:


website favicon logo, circuit board PCB design, vector, SVG, blue purple gradient, hexagon, bolt and tools icon

small favicon logo for a blog website, circuit board pattern, electronics, vector, epic ultra wide aerial shot from atmosphere, cool gradients, ultra high contrast, blue background, psychedelic color, vortex, hyperrealism, intricate details, cinematic lighting

Here's some of the images that I generated using DALL·E 2:

Collection of images from Dalle 2

And here's some from Midjourney:

Collection of images from Midjourney

I eventually found some shapes and colors that looked pretty cool, so I generated some variations using the Midjourney Discord Bot.

Variations on a shape

Eventually I settled on this one. It kind of looks like an abstract "N". I tweaked the colors and contrast a little bit in GIMP.

I settled on this gradient and shape

I used realfavicongenerator.net to generate a favicon package with lots of different sizes and (mostly unnecessary) features.

realfavicongenerator.net is awesome. I use them for all my websites.

They provide this HTML to include in my <head> tag:

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#603cba" />
<meta name="theme-color" content="#ffffff" />

So here's the new favicon:

My new favicon

P.S. Here's one I didn't end up using, in case you want it:

WET BECTOLON

Wet Bectolon. Crdoruf Ptaogoatuy

(wetbectolon.com is available!)

Read more

A glowing hub routing dozens of terminal windows to five usage gauges, one nearly full in orange and the others low in teal, beside the headline "Rotating 50 Claude Code Sessions".

Claude Code usage limits: rotating 50 sessions across accounts

I run 40 to 60 Claude Code sessions at once across several Claude accounts. A Claude Code mod moves each session to another account before its weekly limit runs out. My fork adds one coordinator for every session, a macOS menu bar app, and rotation by Fable's own weekly limit.

By Nathan Broadbent 14 Nov 2026
Reproducing a String Theory Vacuum in Rust

Reproducing a String Theory Vacuum in Rust

Why does this universe exist? Why is there anything at all? One night, I got tired of wondering about these questions, so I decided to roll up my sleeves and see if I might be able to help to figure out some answers. Because why not? So for the last

By Nathan Broadbent 18 Jun 2026
Spice Labels and Spice Racks

Spice Labels and Spice Racks

I bought two boxes of these spice jars: STORFEX 24-Pack 120ml Glass Spice Jars. Then I used my Silhouette CAMEO5α cutting machine to make some vinyl labels. I used the Caveat Brush font from Google Fonts. It took a little while to figure out how to use the cutting machine,

By Nathan Broadbent 04 Jun 2026
Fixing a Bambu Lab X1C Error: "Extruding filament failed. The extruder might be clogged."

Fixing a Bambu Lab X1C Error: "Extruding filament failed. The extruder might be clogged."

My 3D printer broke. No matter what I tried, I couldn't get past this error: "Extruding filament failed. The extruder might be clogged." I took apart the extruder gear assembly to check for clogs: I inspected the little magnet on the filament sensor and tried flipping

By Nathan Broadbent 04 Jun 2026
Made By Nathan
Powered by Ghost