At 100% display scaling, our Windows app had a red icon in its title bar. We closed it, switched to 200% and launched the same executable. The icon turned blue.

Both colors came from the same ICO file. We had given each image inside it a different color so we could answer a practical question: when a window icon looks blurry, which image should you open in your editor?

One ICO, eight colors

We used a square with a white mark in the corner. The 16 × 16 version is red, the 24 × 24 version is orange and the 32 × 32 version is blue. Each of the five larger sizes has its own color, too.

Eight color-coded images in one ICO file: 16 px red, 24 px orange, 32 px blue, 48 px green, 64 px purple, 96 px cyan, 128 px pink, and 256 px gray.

You can open "probe.ico" in Axialis IconWorkshop and inspect each entry. The orange one is particularly useful here: it confirms that a 24 px image was available throughout the test.

What showed up on screen?

We checked the title bar, the running app’s taskbar button and the icon beside IcoProbe.exe in File Explorer. We kept Explorer in Details view.

Display scaling Title bar Taskbar Explorer (Details)
100% Red · 16 px Red · 16 px Red · 16 px
150% Red · 16 px Red · 16 px Red · 16 px
200% Blue · 32 px Blue · 32 px Unverified

At 100% display scaling, Windows File Explorer shows a red icon beside IcoProbe.exe, identifying the 16 × 16 source image.

This detail from Explorer shows the red icon beside the executable a user would launch.

The cover shows the title bar at 100% and 200%. The taskbar results and the 150% row come from visual observations. At 150%, we recorded red even though the file contained an orange 24 px image. We’d want another run with a screenshot of the window’s DPI readout before drawing a conclusion about that setting.

A requested size and a visible color tell you different things

Our probe reads the small and large icon sizes for its window’s DPI. It calls LoadImage twice on the ICO file, then supplies both icons to the window with WM_SETICON. Explorer has a separate source to work with: the same ICO is embedded in the executable.

At 200%, the probe requested 32 px for the small icon and 64 px for the large one. In our ICO, 64 px is purple. The taskbar showed blue. That tells us the visible artwork came from the 32 px entry. The color alone can’t tell us how the taskbar obtained it or how many screen pixels it ultimately occupied.

Try it on your machine

Download the Windows ICO test kit (ZIP)

  1. Extract the ZIP into a fresh folder. Run Run.cmd. On its first run, the script compiles the included C# source into IcoProbe.exe using the .NET Framework compiler.
  2. Record your Windows build with winver. At 100% scaling, capture the title bar, the taskbar button and the executable in Explorer’s Details view. Include the probe’s size readout in your screenshot.
  3. Close the probe, switch the same monitor to 150% and launch it again. Repeat at 200%. Record the colors before consulting the legend.

If your own application has a blurry icon, try this with a test copy of its ICO and your usual build. Reproduce the problem in the exact place you saw it. The color will tell you which source image deserves a closer look.

Microsoft Learn: About Icons