pngtoolskit.org
PNG and image utilities, in the browser
Say hi →

Generate a Solid-Colour PNG

any width × height · hex colour · instant PNG · no signup

Pick a colour and dimensions; download a flat-colour PNG. No file input — three fields and a button. Useful as a placeholder image, a mock-up background, a CSS test fixture, or the base layer for a hand-built OG card.

Ready.

Common sizes

Use cases

FAQ

Can I download as JPG or SVG?

Yes — pick PNG, JPG, or SVG in the Format dropdown. SVG comes out as a tiny one-line <rect> file (a few bytes, scales to any size); JPG is handy when a system rejects PNG. PNG is the default and keeps things simple.

Why is the file bigger than a few bytes?

The browser's PNG encoder writes a baseline PNG. A 1200×630 flat colour comes out around 1–3 KB. Tiny for a website, fine for one-off uses. For absolute minimum size, encode by hand (a 1×1 transparent PNG is 67 bytes).

Can I add a gradient or pattern?

Not in this tool. For gradients use OG image (gradient background option) or a desktop editor.

Transparent PNG instead?

This tool generates opaque solid colours only. For a fully-transparent canvas (e.g. as a layer base), the simplest path is a 1×1 solid PNG with alpha — easiest done in a desktop editor.