CSS Gradient Generator — Linear Gradients with Live Preview
Create beautiful CSS linear gradients with a live preview. Pick colors, set angles, and copy the code in one click.
What the Gradient Generator does
The Gradient Generator creates CSS linear gradients from a set of color stops. It previews the result and outputs the `background` property ready to paste into your stylesheet.
- Add, remove, and reorder gradient color stops.
- Adjust the angle and preview the gradient live.
- Copy cross-browser CSS with the correct syntax.
Tip: Gradients in OKLCH or HSL often look smoother than those built from raw HEX. Try the OKLCH scale export for the best transitions.