Skip to content
Musterli

Animated Gradient Generator

Moving, rotating and color-shifting gradients and floating blobs as pure CSS. Copy CSS, Tailwind or HTML, or export PNG and GIF.

Open the generator

Runs right in your browser. Your graphics are made on your device.

Example motif made with the Animated Gradient Generator

Start from a preset

Pick a preset and it opens right in the editor, ready to adjust.

What is it?

An animated gradient is a background that moves slowly: the gradient pans, turns, changes its colors or soft blobs drift across it. Musterli writes it as pure CSS with keyframes, without JavaScript or video, so it stays light and sharp at any size.

How it works

Pick Pan, Rotate, Shift or Blobs, choose your colors and set duration, easing and direction. Press Space for new colors and a new blob layout. The preview runs the real CSS. Copy the CSS, an HTML example or Tailwind classes, export a still image as PNG, JPG, WebP or SVG, or the whole loop as a GIF.

Try the Animated Gradient Generator now

FAQ

What happens for people who prefer reduced motion?
Every code export includes a prefers-reduced-motion rule. People who ask their system for less motion see a calm, still gradient, exactly the first frame of the animation. The preview here behaves the same way.
Which browsers support the rotating and color-shifting gradients?
They use @property, which Chrome and Edge support since version 85, Safari since 16.4 and Firefox since 128. Older browsers show a still gradient instead of a broken background.
Does the animation slow down my page?
The blobs only move with transform, which the browser handles on the graphics card. Panning, rotating and shifting repaint the background, so keep them for one hero area rather than many small elements. Longer durations look calmer anyway.
How do I use it with Tailwind?
The Tailwind export gives you classes with arbitrary values plus a note to add the keyframes. For Tailwind v4 there is an @theme version that defines --animate-* and the keyframes, so you can write animate-gradient-pan.
Can I get the animation as an image?
PNG, JPG, WebP and SVG show the still start state. The GIF export draws the whole loop frame by frame, seamlessly, for places where CSS is not possible such as emails or chats.

Ready-made gradients

More than 30 original gradients with CSS to copy, each one ready to adjust in the editor.

Browse the gradient collection