Animated Gradient Generator

Create beautiful animated gradients. Pick your colors, preview in real UI components, and copy the CSS — all in one place.

Gradient Settings

Gradient colors

Linear gradient direction

8s
Fast (1s)Slow (15s)

Animated Gradient Preview

Animated Gradient Background

This gradient animates smoothly across the background. The animation shifts the gradient position continuously for a dynamic effect.

Export Animated Gradient CSS

.animated-gradient { background: linear-gradient(90deg, #D5006D); background-size: 200% 200%; animation: gradient-shift 8s ease infinite; } @keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

Animated gradient border

Card with Animated Gradient Border

This card demonstrates an animated gradient border effect using a ::after pseudo-element. The border smoothly transitions through the gradient colors.

.animated-gradient-border { --border-width: 3px; --gradient-angle: 90deg; --animation-duration: 8s; background: white; position: relative; border-radius: 0.5rem; } .animated-gradient-border:after { content: ''; position: absolute; top: calc(-1 * var(--border-width)); left: calc(-1 * var(--border-width)); height: calc(100% + var(--border-width) * 2); width: calc(100% + var(--border-width) * 2); background-image: linear-gradient( var(--gradient-angle), #D5006D); background-size: 200% 200%; border-radius: calc(0.5rem + var(--border-width)); z-index: -1; animation: gradient-shift var(--animation-duration) ease infinite; } @keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

Not quite the right gradient? Discover more

Neon Green Glow

Color codes used in neon green glow gradient: #38ff14, #0a7f0a, #66ff66

Vivid Expression

Color codes used in vivid expression gradient: #ff6e61, #f7cbca, #93a9d2

Retro 90s Vibe

Color codes used in retro 90s vibe gradient: #ff6e61, #f7cbca, #93a9d2

Afro House Vibe

Color codes used in afro house vibe gradient: #ff8052, #f6d465, #4b91e2

Apple Freshness

Color codes used in apple freshness gradient: #a7e061, #57ac2f, #ffd900

Sunlit Meadow

Color codes used in sunlit meadow gradient: #a7e061, #57ac2f, #ffc300

Luxury Shine

Color codes used in luxury shine gradient: #ffd900, #ff8c00, #ff6bb5

Blue Aesthetic

Color codes used in blue aesthetic gradient: #4dacfe, #00f2ff, #00c8ff
Explore more gradients