Film Grain Noise
A subtle animated film-grain texture overlay that adds warmth and depth to any dark surface.
Film Grain Noise
by FreeCsStyles Dev's
BackgroundsMinimal
🌐HTML/CSS
#noise#grain#texture#film
Embed this component
Paste this snippet into any site — the design renders in a sandboxed iframe served from /embed/grain-noise-bg.
<iframe src="/embed/grain-noise-bg" sandbox="allow-scripts" loading="lazy" title="Film Grain Noise" style="border:0;width:100%;height:480px;overflow:hidden"></iframe>Implementation code
Copy the HTML and CSS for Film Grain Noise. The HTML and CSS variants are self-contained; framework variants assume that framework's project setup.
HTML
<div class="grain-bg">
<div class="grain-overlay"></div>
<div class="grain-content">Film Grain Noise</div>
</div>CSS
.grain-bg {
position: relative;
min-height: 200px;
background: linear-gradient(135deg, #1a1a2e, #16213e);
overflow: hidden;
}
.grain-overlay {
position: absolute;
inset: 0;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
opacity: 0.35;
mix-blend-mode: overlay;
animation: grain-shift 0.6s steps(4) infinite;
}
.grain-content {
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
min-height: 200px;
color: rgba(255, 255, 255, 0.9);
font-weight: 700;
letter-spacing: 1px;
}
@keyframes grain-shift {
0% { transform: translate(0, 0); }
25% { transform: translate(-2%, 3%); }
50% { transform: translate(3%, -2%); }
75% { transform: translate(-1%, -3%); }
100% { transform: translate(0, 0); }
}Where Film Grain Noise fits
- Photography Sites
- Cinematic UI
- Brand Overlays
Topics
- #noise
- #grain
- #texture
- #film