Navigation

Gradient Generator

Build linear or radial CSS gradients with editable stops.

Gradient type

Two to eight opaque HEX stops, in increasing position order. Equal positions create a hard edge.

Stop 1
Stop 2

Preview

CSS declaration

background: linear-gradient(135deg, #0070f3 0%, #00c6ff 100%);

Share

How to use

Edit two to eight HEX colors and positions, preview the gradient and copy its CSS.

1

Choose the shape

Use Linear for a direction or Radial for a centered circle.

2

Edit the stops

Use two to eight six-digit HEX colors and positions from 0 to 100%. Keep positions in increasing order; equal positions create a hard edge.

3

Copy the CSS

Use the current preview and copy the background declaration. Correct invalid colors, positions or angles first.

Limits and questions

Inputs are processed in your browser. Analytics and advertising can make separate network requests.

Frequently asked questions

Can I add and remove color stops?
Yes. Add a color stop between existing stops, edit its position, or remove a stop while keeping at least two. The application supports up to eight.
Which colors and angles are supported?
Opaque six-digit HEX colors and linear angles from 0 to 360 degrees. Alpha colors, conic gradients and elliptical radial controls are not offered.