pngtoolskit.org
PNG and image utilities, in the browser
Workflows Sign in Create accountSign up

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.

Part of: Ship loading and placeholder art

A BlurHash is ~30 characters of text, so it ships in the HTML and shows before any image request starts.

  1. 1 PNG to BlurHash The 30-character blur that loads with the page
  2. 2 Placeholder A labelled grey box at any size
  3. 3 Solid color One flat colour, exact hex
  4. 4 Gradient A gradient background at any size

All 28 step-by-step workflows

Part of: Build a starter brand kit from one logo

Everything downstream wants a different shape of the same mark. Make the square master once and derive the rest from it.

  1. 1 Initials avatar A fallback mark if there is no logo yet
  2. 2 Solid color Flat brand-colour plates at any size
  3. 3 OG image The 1200×630 social card
  4. 4 Watermark The mark, applied over photography
  5. 5 Favicon kit Every icon size a browser and an OS ask for

All 28 step-by-step workflows