CSS Gradient Generator

Design a gradient visually and copy ready-made CSS. Everything runs in your browser; nothing you enter is uploaded or stored.

  • Free, no sign-up
  • Runs in your browser
  • Verified

How to use it

  1. Choose the gradient type and the number of colors.
  2. Pick each color and move its position.
  3. Adjust the angle, then press Copy CSS.

How it works

The tool writes the standard CSS functions linear-gradient(angle, color stop, …), radial-gradient(circle, …) and conic-gradient(from angle, …). Each color stop has a color and a position from 0% to 100%.

Examples

  • linear-gradient(135deg, #ff512f 0%, #dd2476 100%) is a diagonal orange-to-pink gradient.

Limitations

  • Radial gradients are always circles centred in the box, and stops are always in percentages. For more control, edit the copied CSS.
  • Gradients between very different colors can look muddy in the middle; add a third color if so.

References

Last verified . See our Accuracy & Editorial Policy. Found a problem? Email contact@tools.gift.