Make a solid colour image at any size

Pick a colour and a size, and the tool makes a PNG filled with that single colour, optionally semi-transparent, and tells you how big the file is.

Live demo · real result from this tool

Press Generate to create a result.

Processed on your device — nothing is uploaded.

How to use Solid Color Image

  1. Pick the Colour (blue #2563eb at first) with the colour box or by typing a hex code.
  2. Set Width and Height in pixels, from 1 to 8000 (both start at 1080).
  3. Set Opacity (0–100%, default 100%).
  4. The PNG updates as you type. Check Size, Colour and PNG file, then download. The file is named after the colour and size, such as 2563eb-1080x1080.png.

What it does and when to use it

A plain colour image sounds trivial, yet it is often needed:

  • Backgrounds for slides, videos, social posts and phone wallpapers in a brand colour.
  • Spacers and filler in a video editor or slideshow, such as a black frame between clips.
  • Testing an upload form, an image pipeline or a screen for dead pixels with pure red, green, blue, white and black.
  • Colour swatches to send to a printer or client alongside a hex code.
  • Transparent canvases of an exact size to start a design.

For a fade between colours, use Gradient Image. For a grey box labelled with its own size, use the Placeholder Generator. To check how a colour converts to RGB, HSL or other formats first, try the Color Converter.

How it works

The tool fills every pixel of a width × height canvas with the same red, green, blue and alpha values. Opacity sets alpha as a share of 255. The pixels are then compressed with a built-in PNG encoder at its highest compression level, all in your browser.

Worked examples

Results from the tool’s own function.

Settings Size PNG file
Defaults (#2563eb, 1080 × 1080) 1080 × 1080 px 4.9 KB
White, 1500 × 500 (an X header) 1500 × 500 px 3.3 KB
Black, 1920 × 1080, Opacity 50% 1920 × 1080 px 10.3 KB
Width 9000, Height 0 8000 × 1 px 107 B

The last row shows the limits at work: sizes are clamped, so you always get a valid image.

A video spacer. Black, 1920 × 1080, Opacity 100% gives a full-HD black frame to drop between clips.

Limits and tips

  • Opacity 0% gives a fully transparent image, whatever colour is picked.
  • The colour is stored exactly as you choose it; no colour profile is added.
  • Very large sizes, such as 8000 × 8000 px, take a moment to build and use a lot of memory on phones.

Frequently asked questions

Why is the file so small?
PNG compression is very good at repeating the same pixel. A 1080 × 1080 blue square is about 4.9 KB, and a 1920 × 1080 frame of half-transparent black is about 10 KB.
How do I make a transparent image?
Lower Opacity. At 0% the PNG is fully transparent; at 50% the colour is see-through. Transparency is stored in the PNG, so it shows in any app that supports it.
Can I get a JPEG instead of a PNG?
The tool saves PNG only. If a form insists on JPEG, convert the file with the Image Converter; a plain colour stays exact in either format.
What happens if I type a size above 8000 or 0?
Each side is kept between 1 and 8000 px. Width 9000 becomes 8000 and Height 0 becomes 1, and the result shows the size actually used.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close