Spray

Fresh paint

Text

Type

Colour

Ground

Ground

Motion

Plays

Checking your unlocks…

About this effect

Spray paints your words through a stencil. A can sweeps across them in three passes: a full coat of the first colour, the second fading up from the bottom, and a dusting of the third across the top, each a soft mist with a speckle of fine dots, so the colours melt into each other the way real spray paint does. The letters stay crisp where the stencil held, with a faint film of overspray around them, and where the paint went on heavy a drip runs down and stops in a bead. On a loop the can comes back for a fresh coat, the last one fading away underneath it. Move the pointer over it and you spray too, a new colour each time you come back.

The paint builds up on its own layer, frame by frame, and is cut to the stencil when it is shown, so nothing is redrawn from scratch. It is drawn on a canvas from the heading's own letters (font, size and line breaks are the page's), and the heading keeps your words for screen readers and search.

Overspray sets how much paint shows outside the letters, Drips how many runs heavy paint can make. Bold, blocky letters make the best stencils; it suits street culture, music, sport, youth brands and anything loud.

Formats
React, HTML
No dependencies
Built with
Canvas, over real text
Default font Big Shoulders Display
Plays
Loop, In view, Hover
Reduced motion
Respected
Shows the finished frame

Accessibility. One real heading, read once; the paint is drawn on a canvas hidden from screen readers. Under reduced motion the letters are painted from the start and never repainted: only the pointer sprays.

Also known as spray paint text, stencil text effect, graffiti text, street art text, aerosol text animation, paint text.

Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.

More retro and print