Made By Nathan
  • Blog
  • 3D Printing
  • DocSpring
  • 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

The Edge of Decoherence

The Edge of Decoherence

A short story about a quantum being who leaves the shimmering realm of possibility to visit our frozen world of certainty.

By Nathan Broadbent 20 Nov 2025
Free Men of the Steppe: Kazakhs and Cossacks

Free Men of the Steppe: Kazakhs and Cossacks

This blog post is about how the words Kazakh and Cossack are related. Background My wife Masha is from Kazakhstan, although she is not ethnically Kazakh. (Her ancestors are from Ukraine and Moldova.) I have been to visit Kazakhstan a few times and it's a very beautiful country!

By Nathan Broadbent 19 Nov 2025
Hi Grok, Putin here. What should I do?

Hi Grok, Putin here. What should I do?

Hi, my name is Vladimir Putin and I am asking for advice about what I should do next. Keep the war going? End it?

By Nathan Broadbent 19 Nov 2025
Reinterpreting John 12:25

Reinterpreting John 12:25

There's a Bible verse that has been bugging me for a while: John 12:25: "Anyone who loves their life will lose it, while anyone who hates their life in this world will keep it for eternal life." I thought about this verse recently and I

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