Image background color: help & limits
About this tool
Give a transparent logo, cutout or illustration a solid background without changing its dimensions. Choose a supported still image, then select a color or enter its six-digit HEX code. Compare the original with the filled result and download a PNG. An existing opaque background stays part of the image.
How to use
- Choose a supported still image. A white background is applied automatically.
- Pick a background color or enter a six-digit HEX code. The preview updates from the original image.
- Compare Original and Result, then download your PNG. Start over clears the selected image and restores white.
Supported files
JPG, PNG, WebP, AVIF, HEIC, BMP, still GIF · 64 MiB · 64 megapixels. One image at a time. Maximum 16,384 pixels per edge and 128 MiB output.
How it works
The browser decodes the image with supported orientation, paints a solid color behind it, and composites the original pixels over that color. Semi-transparent edges blend with the chosen background. Fully opaque pixels keep their decoded appearance. The result is encoded as an opaque PNG at the original pixel dimensions.
Examples
A product cutout on white
Choose a 1,200 × 1,200 transparent product PNG and keep #ffffff. Download an opaque PNG with the same dimensions, ready for a listing that needs a white background.
A logo on a brand color
Choose a transparent WebP logo and enter #123456. Transparent areas become dark blue, while semi-transparent edges blend into it. The download is PNG even though the source was WebP.
Limitations
- This fills transparency; it does not identify or replace a sky, wall or other opaque background. Use background removal first when a subject needs to be cut out.
- Still supported images are accepted. An opaque image will keep its existing background; this tool fills transparent pixels only. SVG and animated inputs need a separate conversion first. Transparent pixels become opaque in the download; keep the original if you need transparency later.
- The output may be larger than the input. Embedded metadata and exact color-profile behavior are not preserved as a guarantee. The limit is 16,384 pixels per edge and 128 MiB output; low-memory devices can fail below these limits.
Privacy
Your source, color choice and output are processed in a local browser worker. No file or filename is uploaded and the settings are not saved. Preview URLs and worker memory are released when replaced, reset or closed.
Local processing explainedCommon questions
Why did changing the color make no visible difference?
The image may have no transparent pixels. A white or checkerboard pattern can be baked into an image. This tool keeps opaque pixels; remove the existing background first if you need to replace it.
Can I enter an exact brand color?
Yes. Enter # followed by six hexadecimal digits, for example #123456. The result is based on the browser’s decoded pixels; display and color-profile differences can affect the appearance.
Why do the edges look different on a dark background?
Partially transparent edge pixels blend with the new color. A cutout with leftover pale pixels may show a halo. Refine that cutout before filling its background.
Can I restore transparency afterward?
Start again from your original file. Filling makes transparent areas opaque, so the downloaded PNG does not retain the original alpha mask.