What is a Grainy Gradient?
also known asnoise gradient · film-grain background · textured gradient
A grainy gradient is a smooth blend of colours with a fine layer of film-style noise on top, which adds texture and hides banding.
background-image: url(noise.svg), linear-gradient(...)mix-blend-mode: overlayfilter: url(#grain)Zoom in on a plain digital gradient and something slightly sad happens. Instead of a smooth fade you can see faint stripes, steps of colour where the screen ran out of shades. Designers call this banding. Now zoom in on a gradient with a fine speckle of noise over it, and the stripes disappear into the texture. The surface suddenly looks like photographic film or a risograph print. That is a grainy gradient.
It has two ingredients. The first is a smooth gradient, which can be linear, radial, conic or a mesh of colour blobs. The second is a layer of noise, usually an SVG turbulence filter or a small tileable PNG, laid over the top at roughly 4 to 10% opacity. The noise does two jobs. It gives the colour an analog, slightly imperfect quality that feels less synthetic than a pure digital fade, and it breaks up the banding that appears on 8-bit displays when a gradient covers a large area with subtle changes.
The look spread widely on AI product pages, creative tools, editorial sites and premium SaaS around 2023 and 2024. A reasonable explanation is fatigue. After years of clean flat design and glossy gradients, people wanted something with a bit of tooth, and grain delivers that without needing photography or illustration.
To build one in CSS, start with the gradient on a container. Add a pseudo-element on top, fill it with an inline SVG that uses feTurbulence with a fractal noise type and a high base frequency, and set mix-blend-mode to overlay or soft-light so the grain interacts with the colours beneath instead of just sitting on them as grey dust. Keep pointer events off that layer. Tune the opacity by eye on a real screen, not a tiny preview, because grain looks very different at different sizes and on different displays.
A few judgement calls separate good grain from cheap grain. Fine, tight grain looks like film, while big blotchy grain looks like a broken image. Above about 12% opacity the effect stops reading as texture and starts reading as static. The gradient itself still matters, since a muddy gradient with noise is just a muddy noisy gradient. Pick colours that sit close together in hue, keep a clear light and dark zone, and let the grain add depth, not rescue the palette.
There are trade-offs. A big noise image adds bytes, and an SVG turbulence filter can be expensive to repaint if the element is large or animated, so avoid animating it. Grain also rarely survives print well, and it can reduce the legibility of body text if you place paragraphs directly on it. Keep text on a calmer area, or put it on a panel.
Some browsers and compression pipelines will also flatten very subtle grain in screenshots and social images, so check exports before you assume your graphic looks the way it does on your monitor.
When you prompt an AI for this, specify the layers. Say what the base gradient is, name the colour stops, ask for an SVG feTurbulence overlay with a base frequency around 0.8, blend mode overlay and 6% opacity, and ask for no animation. 'Add a noisy gradient' on its own often produces heavy, dirty-looking static.
- Hero backgrounds that need warmth without imagery
- AI / creative tool branding
- Anywhere a flat gradient would feel cheap
- Performance-critical contexts (noise textures add weight)
- Print, grain rarely reproduces well
- +Keep noise opacity between 4–10%
- +Use SVG turbulence for crisp, scalable grain
- +Layer noise above the gradient with mix-blend-mode: overlay or soft-light
- −Don't use noise above 12%, it stops feeling like grain and starts feeling like static
- −Don't grain-texture body text backgrounds, readability suffers
AI tools already know the word. Here is how to avoid the stock version.
The stock versionA pastel gradient under a uniform noise layer at full strength across the whole page, which turns the text grey and muddy.
- +Keep the grain at roughly 4% to 8% opacity and apply it to the gradient only, never to text or controls.
- +Blend it with overlay or soft-light so it adds texture without shifting the colors.
- +Generate it with a tiled SVG feTurbulence filter, which costs a few hundred bytes, instead of a large PNG.
- +Use it on large areas. On small surfaces the grain reads as dirt.
Grainy Gradient: your questions, answered
How do I add grain to a CSS gradient?
Put the gradient on a container, then add an overlay containing an SVG feTurbulence filter or a tileable noise image. Set mix-blend-mode to overlay or soft-light and the opacity to about 4 to 10% so the grain stays subtle.
Why does a gradient need noise at all?
Large smooth gradients can show visible banding on 8-bit screens, where colour changes happen in steps. A fine layer of noise scatters those steps so the eye reads a smooth fade, and it also adds a more tactile, photographic look.
How much grain is too much?
Past roughly 12% opacity it stops looking like grain and starts looking like static or dirt. Start around 5%, view it on a real screen at full size, and stop as soon as the texture is noticeable but not dominant.
Does a grainy gradient slow down a website?
It can if you use a large noise image or animate an SVG filter. A small tiled PNG or a static, inline SVG overlay is cheap. Avoid animating the grain, and test on a modest phone.
Should text sit on a grainy gradient?
Short headlines are fine if contrast is strong. Body text is risky, because the noise softens letter edges. Place paragraphs on a calmer area or a solid panel, and check contrast against the lightest and darkest parts.
More quick answers
Grainy gradient vs mesh gradient: are they the same?
No. A mesh gradient describes how colours blend across a surface, while grain is a texture layered on top. They pair well, and many grainy gradients are mesh gradients underneath.
Is the grainy gradient trend over?
It peaked around 2023 and 2024, so it now looks familiar. Used with restraint and a distinctive palette it still reads as polished, but it no longer feels brand new.
What tools can generate grainy gradients?
Most design tools can add a noise effect to a gradient, and several free web generators export CSS or images. You can also write the SVG turbulence overlay by hand in a few lines.
How does grain relate to the risograph look?
Risograph prints have natural ink grain, misregistration and limited colours. A grainy gradient borrows only the texture, so it feels analog without copying the full print style.
Found this useful? A GitHub star helps other designers find it.