CSS Gradient Generator

Fast two-color linear-gradient generator with presets. Copy the CSS in one click.

CSS

background: linear-gradient(135deg, #267D70, #8BAF9E);

Presets

How to use

Pick two colors and an angle. The tool generates the CSS background property — paste it into any element. Click a preset for a starting point.

FAQ

What angles should I use?

135° feels natural (top-left to bottom-right). 180° is vertical. 90° is horizontal.

Can I add more than two colors?

Yes — use the advanced Gradient Generator for multi-stop gradients.

Related tools