Grain texture as a tiny inline SVG filter in your CSS
Noise Texture Generator
Make a grain texture that tiles seamlessly, for adding depth to flat colours and gradients.
Loading tool…
How to use noise texture generator
Choose grain on a colour, or transparent grain to lay over anything.
Set the strength and grain size, and the base colour if you want one.
Press New grain to try another random pattern.
Pick a size and download the PNG, then copy the CSS to tile it.
What this tool does
- Every grain cell is independent, so any tile repeats with no visible seam.
- Transparent mode writes light and dark specks with alpha, so one file works over any colour.
- Seeded random numbers: the same seed gives the same texture every time.
- Exports PNG at any size up to 8192 pixels, or JPEG for opaque textures.
How the result is verified
The PNG is decoded again after encoding and its width and height checked before it is saved.
Frequently asked questions
What size should a grain tile be?
256 or 512 pixels square is plenty: the CSS repeats it across the page. A full screen size only makes sense when you want one image file, such as a wallpaper.
How strong should grain be?
For a subtle film look on a gradient, 8 to 15 percent. Higher values read as a deliberate gritty texture.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Drag colour points to make soft blended gradients as CSS, PNG or SVG
Mesh, gradient and glow wallpapers with grain and patterns, up to 8K
Seamless dots, grids, stripes, waves and more as SVG, CSS or PNG