Skip to content
Free Online Tools
All Tools Text Tools Developer Tools Generators Converters Calculators Data & Converters Web & Design Encoders & Ciphers Networking Games About Blog News

CSS Gradient Generator

Web & Design 100% in-browser

Build a linear or radial CSS gradient and copy the code.

How to use the CSS Gradient Generator

  1. 1 Pick two colors and the gradient type and angle.
  2. 2 Preview it live.
  3. 3 Copy the CSS background property.

About the CSS Gradient Generator

CSS gradients create smooth color transitions without images. This generator lets you choose colors, direction and type and gives you the exact background CSS to paste into your styles.

The preview updates live in your browser.

Frequently asked questions

Linear or radial?

Both are supported — linear blends along an angle, radial blends outward from the centre.

Can I add more colors?

This tool uses two color stops; extend the generated CSS with more stops if needed.

Related tools

Color Palette Generator Pick a base color to generate shades, tints and a matching palette.
Box Shadow Generator Design a CSS box-shadow with a live preview and copy the code.
Color Converter Pick a color or type a value to convert instantly between HEX, RGB and HSL with a live preview.

More from us

Recently used