Animated gradient background generator
Ribbonwash is a free, in-browser generator for animated mesh gradient backgrounds. Instead of a grid of color points, you draw soft ribbons, give every anchor its own color and width, and stack motions that always loop seamlessly. Export a video or an image for free, or the website code with Pro.
Start from a preset
Each of these is a real Ribbonwash scene, running live. Download one, then in the editor choose Artworks → Open… to load it and make it yours. The editor also has 8 built-in templates under Artworks → New artwork…: Blank, Soft ribbons, Midnight, Sunset, Mint, Deep sea, Twilight and Ember.
How to make an animated gradient background
Open the editor
Go to the editor. It runs in your browser: no account, no install, and your work autosaves in this browser.
Pick a starting point
Choose Artworks → New artwork… and start from one of 20 templates (including the 12 presets), or press R (Random) for a new layout and palette. Shift+R changes only the colors and keeps the shapes and motion.
Shape the ribbons
Drag with the Brush (B) to draw a soft curve, or place points one by one with the Pen (P). Switch to Edit (V) to move points and handles. Every anchor has its own color, width and softness.
Add motion
Select a curve and open the Motion tab. Stack any of the 8 motions — Flow, Swing, Breathe, Color shift, Drift, Ripple, Comet and Move — and set the Loop length. Each motion runs a whole number of cycles per loop, so the last frame flows into the first.
Export it
Open Export: Image… (PNG or JPEG), Video… (MP4, WebM or PNG sequence) or Code… (an HTML snippet, a React component or a complete ZIP for your website).
What you can export
| Export | Free | Pro · $19 |
|---|---|---|
| PNG / JPEG image | Up to 1280 px, small watermark | Full resolution |
| MP4 / WebM video | Up to 720p and 10 s, watermark | Up to 4K, any length |
| PNG sequence (ZIP) | — | ✓ |
| Website code: HTML snippet, React component, ZIP | — | ✓ |
Pro is a one-time purchase of $19, for up to 3 devices. No subscription.
Mesh gradient or CSS gradient animation?
The classic CSS technique animates the position of an oversized linear gradient. It needs no JavaScript and works in every browser, and for a simple moving wash it is the right tool:
.hero {
background: linear-gradient(120deg, #6b45f5, #e8318c, #ffb22e, #6cc4f0);
background-size: 300% 300%;
animation: drift 12s ease-in-out infinite alternate;
}
@keyframes drift {
from { background-position: 0% 50%; }
to { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
.hero { animation: none; }
}
What it can't do is move color along a curved path, change a shape over time, or blend several soft shapes into each other — the stripes only slide in one direction. A mesh gradient draws the whole field with WebGL instead: colors travel along curves, shapes drift and breathe, and overlapping ribbons blend smoothly (Ribbonwash blends colors in OKLab, so mixes stay bright instead of turning grey).
Made for real websites
- Small. The runtime is about 19 KB gzipped, with no dependencies, MIT licensed.
- Kind to weak devices. Below 24 fps it lowers its resolution; if a device stays below 15 fps for 4 seconds it holds a still frame.
- Accessible. With
prefers-reduced-motionit shows a still frame, and without WebGL2 it shows the poster image. - Yours. Exported code never checks a license and never calls home — it keeps working offline, forever.
Using React or Next.js? See the React guide. Want the look of Stripe's homepage? See how to make a Stripe-style gradient.
FAQ
Is the generator free?
Yes. The full editor is free, with every motion and template, local saves and JSON import/export. Free exports are images up to 1280 px and video up to 720p / 10 s, with a small watermark. Pro ($19, one-time) adds full-resolution images, watermark-free video up to 4K, PNG sequences and code export.
Do I need an account?
No. Your work is saved in your browser. Save it as a JSON file (Ctrl/⌘+S) to back it up or move it to another computer.
Will an animated background slow down my site?
The runtime is about 19 KB gzipped with no dependencies. It lowers its resolution when the frame rate drops, and shows a still frame on devices that can't keep up, when the visitor prefers reduced motion, or when WebGL2 isn't available.
Can I use it as a video instead of code?
Yes. Export MP4 or WebM from Export → Video…: up to 720p and 10 seconds with a watermark on the free plan, or up to 4K at any length with Pro. A PNG sequence (ZIP) is available for video editors with Pro.