Solid colour image generator
Generate a solid colour image at a chosen size: optional border width and colour plus a corner radius percentage, exported as PNG (transparency preserved outside the rounded corners).
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Images are processed locally in your browser with Canvas and never uploaded.
No result yet
Result details
These are the real numbers from this run — copy them straight out.
Pick an image and set the options; sizes, pixel count and export size show up here.
What this tool does
- Build placeholders: generate a colour block at the layout size to hold the grid, then swap in the real image.
- Produce a social cover base: add a border and rounded corners and export straight away, without opening a design tool.
- Make colour swatches: keep the size and change the fill to compare brand colours at their real display size.
Example
Input
A 4×4 canvas, fill #ffffff, 1 px border in #000000
Output
The edges and corners are black while the inner 2×2 stays white; the border pixel count is 12
Straight from solidImage: border pixels = total − inner area = 16 − 4 = 12. With a corner radius, pixels outside the rounded shape keep alpha 0.
Frequently asked questions
How is the corner radius computed?
Radius in pixels = half the shorter side × (radius percent / 50). At 50% you get a perfect circle, and the area outside stays fully transparent so it composites cleanly.
Can I use a border and rounded corners together?
Yes. The border is drawn inside the rounded shape; the outside remains transparent. With both enabled the border ring is painted first and then clipped by the corner radius.
How large can the output be?
Up to 4096 px per side, with a total limit of 16,000,000 pixels. Exceeding it raises an error instead of silently downscaling.
Does this tool need an uploaded image?
No. Every pixel is generated from the parameters, so there is no file I/O and nothing to upload.
Keywords:solid colour imagecolour block generatorplaceholder imageflat colour imageplain colour png