Seamless grain on a colour or as a transparent PNG overlay
CSS Noise Generator
Give flat colours and gradients a grainy texture with a few hundred bytes of CSS and no image file.
Loading tool…
How to use css noise generator
Choose fractal noise for soft grain or turbulence for a streaky look.
Set the frequency, detail and opacity, and a tile size.
Pick a background colour and a blend mode, or leave the colour off to lay grain over your own background.
Copy the CSS, or download the SVG tile or a PNG.
What this tool does
- Uses the SVG feTurbulence filter with stitchTiles, so the tile repeats seamlessly.
- The whole texture is an inline data URL of a few hundred characters.
- Optional grey conversion, background colour and background-blend-mode in the output.
- PNG export draws the same SVG at any size up to 8192 pixels.
How the result is verified
The preview uses the exact data URL from the CSS. PNG exports are decoded again and their size checked before saving.
Frequently asked questions
Why use SVG noise instead of a PNG?
The SVG is a few hundred bytes and needs no extra request, and you can change its strength by editing one number. A PNG renders the same in every browser and is cheaper to paint on very large areas.
Which blend mode looks best?
Normal lays grey grain on top. Overlay and soft light keep the colour underneath and only add texture, which usually looks more natural on gradients.
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
Grids, dots, stripes and checks made only of CSS gradients
Drag colour points to make soft blended gradients as CSS, PNG or SVG
Linear, radial and conic gradients with OKLCH blending, CSS and PNG