Free tool

Beautiful CSS Gradients

54 CSS gradients to copy and paste: mesh, film grain, metals, skies and animated ones. Click one and its CSS is on your clipboard.

Last updated

54 gradients
One click to copy
Keyframes included
JSON for AI agents
9 gradients

Mesh gradients

A base color with wide radial gradients laid over it. The layers overlap far enough that the colors run into each other, the way they do in a blurred photo.

6 gradients

Grainy gradients

Film grain over color. The grain is a small SVG noise filter written into the CSS itself and blended over the gradient. You host no image for it.

6 gradients

Sky gradients

Dawn to night, read top to bottom. Each has four or five stops, because a sky is never two colors.

6 gradients

Dark background gradients

Near black, with one source of light. Made for hero sections and landing pages.

9 gradients

Metallic gradients

Gold, chrome, copper and steel. The light and dark stops alternate, which is what makes a flat surface read as metal.

9 gradients

Two-color gradients

Two colors each, blended in OKLCH. The middle of the gradient stays bright where plain RGB would turn it gray. The first line of each is the fallback for a browser without OKLCH.

9 gradients

Animated CSS gradients

These move. Some slide an oversized background across the element. Others animate a registered custom property to turn an angle or change a color. Every one copies with its @keyframes and stops for visitors who have asked their system to reduce motion.

In your stylesheet

How to use a CSS gradient

A gradient is an image. That is why it goes in the background property and does nothing in color.

Paste it where a background goes

Every gradient here copies as plain CSS, with no library behind it.

On an element. Paste what you copied into any rule and it fills the box.

On text. Clip the background to the letters and make the text itself transparent.

Animated. It copies as a class with its keyframes. Add the class, or move the declarations into your own rule.

.hero {
  background: linear-gradient(135deg, #ff4f8b, #ffc24a);
  background: linear-gradient(135deg in oklch, #ff4f8b, #ffc24a);
}

.headline {
  background: linear-gradient(135deg, #ff4f8b, #ffc24a);
  background: linear-gradient(135deg in oklch, #ff4f8b, #ffc24a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

Free to use. Personal and commercial projects, changed however you like, with no credit asked.

Safe in older browsers. OKLCH gradients carry a plain line above them, and an animated one stands still where @property is missing.

JSON for scripts and agents. One file lists every gradient with its name, group, colors and complete CSS.

Open the gradients as JSON

Frequently Asked Questions

Have a question we haven't answered? Get in touch.

For web developers and designers

Take the CSS from any site you like, gradients included

Hoverify's Inspector shows the HTML and CSS behind whatever you hover, and its copy menu takes the styles with you. The color eyedropper, the responsive viewer and the screenshot tools sit in the same extension.

  • 3 browsers per license
  • 14-day refund
  • No auto-renewal