Background Generator

Pick the screen it is for, a mesh or gradient and a little grain. Download a PNG at that exact size, painted on your device.

How it works

Choose what the wallpaper is for, such as a 4K desktop or a phone, and the page sets the exact pixel size. A preview shows the wallpaper smaller, drawn by the same code that paints the download.

A mesh is several soft colour blobs over a base colour. A linear or radial gradient blends between three colour stops. These are the same gradients the Gradient Generator writes as CSS, here painted onto a canvas at full size.

Grain adds fine monochrome noise. It is more than texture: a smooth gradient across thousands of pixels has more pixels than 8-bit colour has steps, so it shows visible bands, and a little noise hides them. The download is painted in a background worker where the browser allows it, so the page stays responsive, and the PNG never leaves your device.

How to use it

  1. 1 Choose the screen the wallpaper is for, or My own size for any width and height.
  2. 2 Choose Mesh, Linear or Radial, and set the colours.
  3. 3 For a mesh, press Shuffle blobs or New colours until you like it.
  4. 4 Set the grain, then press Download PNG.

Good to know

  • A grain of 8 to 15 percent removes banding on most screens without looking noisy.
  • Dark bases with two or three saturated blobs make calm desktop wallpapers that keep icons readable.
  • For a phone, keep the brightest blob away from the top, where the clock and status icons sit.
  • Need the background as CSS rather than an image? The Gradient Generator writes the same gradients as code.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later · full speed from 105
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

One wallpaper for a desktop and a phone

Say you want a matching wallpaper on a laptop and a phone: deep navy with soft violet, orange and blue glows. Start with Made for set to Desktop, Full HD, which is 1920 by 1080 pixels. Mesh is the default style, with a base of #15172e and three colour blobs. The preview draws it at a smaller size with the same code that will paint the file.

Press Shuffle blobs a few times. Each press moves every blob to a new place, and the colours stay. When one arrangement looks right, adjust the Reach of each blob: a larger reach spreads the colour wider and blends it with its neighbours, a smaller one keeps it as a distinct glow. Set Grain to about 12 percent. On a large screen this removes the banding that a smooth gradient shows in dark areas, and at normal viewing distance it reads as a soft matte surface.

Press Download PNG and the page paints the wallpaper at 1920 by 1080 in a background worker and saves background-1920x1080.png. For the phone, change Made for to Phone, which is 1179 by 2556. The blob positions are in percent of the width and height, so the same arrangement stretches to the tall screen. Check the preview: on a phone the top strip holds the clock, so a bright blob there can make it hard to read. Shuffle again if needed and download the second file.

For a 4K screen, the page paints 3840 by 2160 pixels, more than 8 million. That is why the work runs in a worker where the browser allows it: the page stays responsive, and Cancel stops a paint that is no longer wanted. In browsers without OffscreenCanvas, the paint runs on the page itself and the page may pause for a moment.

There are limits. The page makes gradients and meshes with grain, not photos, patterns or noise alone; for repeating patterns, the CSS Pattern Generator is the better tool. Files are PNG only, and with grain they are large, because noise does not compress. Sizes stop at 8,192 pixels a side and 40 million pixels in total, which is what browsers can paint reliably. And colours are painted in sRGB, so a wide-gamut display will not show colours beyond that range.

Frequently asked questions

What sizes can I make?

Any width and height from 16 to 8,192 pixels, up to 40 million pixels in total. That covers 8K screens at 7680 by 4320. Larger canvases fail or run out of memory in many browsers, so the page stops there.

Why add grain to a gradient?

Smooth gradients over a large area show bands, steps where one shade jumps to the next, because 8-bit colour has only 256 levels per channel. Grain spreads those steps into fine noise that the eye reads as smooth.

Why is the PNG file large?

PNG is lossless, and grain gives every pixel a slightly different value, which compresses poorly. A 4K wallpaper with grain can be 10 MB or more. Lower the grain for a smaller file, or convert it to JPEG afterwards.

Does this make patterns or noise-only backgrounds?

Not as images. For stripes, dots, checks and grids, the CSS Pattern Generator writes them as CSS that scales to any screen. Grain here is always laid over a gradient or mesh.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.