CSS Gradient Generator

Create CSS gradients with live preview

Share:
background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
135deg
360°
0%
100%
Presets

How to Use CSS Gradient Generator

  1. 1Select gradient type: linear or radial.
  2. 2Adjust the angle (for linear gradients).
  3. 3Add, remove or modify color stops.
  4. 4See the live preview and copy the CSS code.

About CSS Gradient Generator

Create beautiful CSS gradients visually with a live preview. Support for linear and radial gradients with customizable angles, color stops and positions. Choose from presets or create your own. Copy the generated CSS code with one click. Works with all modern browsers.

Frequently Asked Questions

What is a CSS gradient?

A CSS gradient is a smooth transition between two or more colors. It can be linear (in a straight line) or radial (from a center point outward). Gradients are created using CSS background-image property.

What browsers support CSS gradients?

CSS gradients are supported by all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. No vendor prefixes are needed for current browser versions.

Can I use more than two colors?

Yes. CSS gradients support unlimited color stops. Each stop can have a specific position along the gradient.

Related Tools