Made By Nathan
  • Blog
  • DocSpring (my company)
  • Homepage
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

Why I Don't Like to Build Trading Bots

Why I Don't Like to Build Trading Bots

Building products creates something new that didn’t exist before. Trading mainly redistributes existing value.

By Nathan Broadbent 15 Dec 2025
Global Handicrafts: A 16-Year Rails Ghost Story

Global Handicrafts: A 16-Year Rails Ghost Story

A couple of hours ago, I got a Google security alert: I created that Gmail address 16 years ago for my very first Ruby on Rails internship/job at Crossroads Foundation in Hong Kong. I had written a small integration that synced inventory from MYOB to a Spree store. I

By Nathan Broadbent 15 Dec 2025
ARC-AGI: The Efficiency Story the Leaderboards Don't Show

ARC-AGI: The Efficiency Story the Leaderboards Don't Show

ARC-AGI is a benchmark designed to test genuine reasoning ability. Each task shows a few input-output examples, and you have to figure out the pattern and apply it to a new input. No memorization, no pattern matching against training data. Just pure abstraction and reasoning on challenging visual problems. It&

By Nathan Broadbent 14 Dec 2025
You're Going To Australia

You're Going To Australia

It was ten past five on a Tuesday, and I received the booking confirmation for my stay at Rydges Hotel in Kalgoorlie, Australia. It sounded like a nice room. The only problem is that I did not make this booking. This booking confirmation was sent to my personal email address.

By Nathan Broadbent 26 Nov 2025
Made By Nathan
Powered by Ghost