Solid colour image
Generate a solid-colour image at any size — 1–4096 per side, up to 16M pixels — with alpha fixed at 255; PNG export stays local.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
No result yet
Result
These are the real numbers from this run — copy them straight out.
Adjust the size or colour and the result is recomputed instantly.
What this tool does
- Solid backdrops: prepare a colour block at an exact size for posters, banners or test pages.
- Alignment references: generating a swatch at the same pixel size as the mockup beats screenshotting.
- Test fixtures: solid images of various sizes exercise upload, compression and thumbnail pipelines.
Example
Input
Width 2, height 1, colour #123456
Output
A 2 × 1 PNG whose 8 bytes are [18,52,86,255,18,52,86,255]
Solid fill always writes alpha 255; the colour accepts #rgb shorthand and is normalised to #rrggbb on output.
Frequently asked questions
Can I make a solid image with a transparent background?
No. Every pixel this tool writes has alpha 255, so the image is fully opaque and the "Alpha kept" line in the result panel always reads no. For a transparent background use the Transparent PNG maker, which produces a blank PNG whose RGBA values are all zero.
How large can the width and height be, and what happens if I go over?
Width and height are 1–4096 pixels each and the total may not exceed 16,000,000 pixels: 4096 × 3906 works, 4096 × 4096 fails. Out-of-range values show the invalid-parameters message in the result panel and no image is produced.
Does the colour accept shorthand like #f00 or colour names?
The colour control on the page always yields a six-digit #rrggbb value, and the "Background" line is reported in #rrggbb too. The underlying parser also accepts the three-digit #rgb shorthand (#f00 equals #ff0000), but not names such as red or rgb(255,0,0) — invalid values produce the invalid-parameters error.
Keywords:solid color imagesolid colour pngplain colour background