← Zaps Colors
Design Tool

Gradients

Explore beautiful gradients for your projects or create your own with the Gradient Generator.

Copy a CSS gradient in one click

This collection has 92 ready-made CSS gradients, each with a name and a note on where it works well. Filter by color, click a gradient to see its color stops, and copy the CSS line.

  1. Pick a color filter, such as blue, purple, or orange, or leave it on All.
  2. Click the copy button on a card to copy its CSS straight away.
  3. Click the card itself to open it, then click a color stop to copy that hex code.

How to use a gradient as a CSS background

Paste the copied line into any CSS rule. This is the Emerald Isle gradient:

.hero {
  background: linear-gradient(150deg, #348f50 0%, #56b4d3 80%);
}

The first value is the angle: 150deg runs from the top left toward the bottom right. Each color stop pairs a hex code with a position, so the blue is fully reached at 80% and holds to the edge. Most gradients here are linear. The 22 radial ones use radial-gradient(circle, …) and spread out from the center.

How to make your own gradient

Open the CSS gradient generator to set your own colors, angle, and stop positions, with up to six stops. To match a gradient to your brand, start from one color and build lighter and darker steps with the tint and shade generator.

CSS gradients FAQ

How do I add a gradient background in CSS?

Set the background property to a gradient function. For example, background: linear-gradient(150deg, #348f50 0%, #56b4d3 80%); paints a diagonal green-to-blue fade. Copy any gradient on this page and paste the line into your CSS rule.

What is the difference between a linear and a radial gradient?

A linear gradient changes color along a straight line at an angle you set. A radial gradient spreads out from a center point in rings. This collection has 70 linear and 22 radial gradients.

Do CSS gradients work in every browser?

Yes. linear-gradient() and radial-gradient() work in current versions of Chrome, Safari, Firefox, and Edge without vendor prefixes. The browser draws them, so they add no image download and stay sharp on any screen.

Can I edit one of these gradients?

Yes. Copy its hex codes from the gradient's detail view, then open the CSS gradient generator. Set the colors, choose linear or radial, pick an angle, and move the stops. The generator supports up to six color stops.

Are these gradients free to use?

Yes. Copy the CSS into any project. The collection is free to browse and needs no account.

Put these colors to work

Pick a Zaps template for your next post, story or reel, add your photos and match it to your palette.