CSS gradient generator.

Build a CSS gradient visually: pick colours, drag stop positions and angles, and copy the CSS with a solid fallback colour.

Runs in your browser. Nothing you enter is sent to KRA Digital or anyone else.

Colour stops

More design tools · All 55 free tools

How to use it

  1. Choose linear, radial or conic, or start from a preset.
  2. Set each colour stop’s colour and position; add up to five stops.
  3. Adjust the angle (linear and conic) or shape and centre (radial).
  4. Copy the CSS. It includes a solid background-color fallback.

Questions

Do gradients work in all browsers?

Linear and radial gradients work in every current browser. Conic gradients are supported by all modern browsers too; the solid fallback covers very old ones.

Will text on a gradient be readable?

Check contrast against the lightest and darkest parts of the gradient with our contrast checker. Text over the middle of a strong gradient often fails.

Are gradients better than images?

Usually: a CSS gradient is a few bytes, scales to any size and needs no download.

Let’s build something great.

Tell us what you want to build, who it is for and what it needs to do. We’ll help you define a practical next step.

Start a project