gggrain
grainy SVG gradient generator

blend mode ↷

Some sample grainy gradient backgrounds generated using gggrain ↷

example SVG grainy gradient 1 example SVG grainy gradient 2 example SVG grainy gradient 3 example SVG grainy gradient 4 example SVG grainy gradient 5 example SVG grainy gradient 6 example SVG grainy gradient 7 example SVG grainy gradient 8 example SVG grainy gradient 9 example SVG grainy gradient 10 example SVG grainy gradient 11 example SVG grainy gradient 12

about gggrain

🌈 This SVG generator makes it easy to add an analog/organic touch to your gradients by introducing some coarse grain. It makes for a great way to add texture and dimension to your designs.

🙌 The idea for this gradient generator was inspired by this great CSS-Tricks article from Jimmy Chion.

This gradient generator makes use of SVG filters like feTurbulence for generating noise and feComponentTransfer as well as feColorMatrix to tweak the noise so that it looks nice and grainy. If you're interested in geeking out a bit more on the topic, I recommend this CSS-Tricks article.

The resulting SVG files are lightweight in size, but they can require a lot from the CPU to render because of the way SVG filters work. To counter this if it's an issue in your specific use case, an easy option is to turn the resulting gradients into a raster image format like JPEG, WebP or AVIF. You can use a tool like Squoosh to do that right in the browser.

or, if that's more your style, you can follow me on Twitter

more SVG generators, tools & resources

mmmotif
SVG patterns with a 3D feel

cccolor
clean & simple color picker

nnnoise
texture generator

ffflux
fluid SVG gradients

nnneon
glowing SVG shapes

ccclaymoji
emoji maker

iiisometric
isometric design builder

bbblurry
blurry background shapes

uuundulate
make some SVG ripples

ccchaos
wild wavy SVG shapes

oooscillate
curvy line patterns

ffflurry
make it rain, SVG-style

pppixelate
pixel art patterns

sssquiggly
wavy line patterns

ooorganize
SVG grid patterns

vvvortex
spinning circle patterns

gggyrate
spinning geometric patterns

ggglitch
glitchy shapes

ppperspective
shapes that vanish

sssurface
SVG circles that feel 3D

hhhorizon
Cyberpunk-style backgrounds

ssshape
blob generator

ssspill
generate melting SVGs

ssspot
organic speck patterns

qqquad
generative patterns

wwwhirl
twisting line patterns

rrreflection
SVG circle patterns

llline
line generator

bbburst
confetti generator

lllook
fun line icons

dddoodle
hand-drawn doodles

iiimperfect
outlines that look hand-drawn

rrready?
support chart for web features