Color tools
Gradient Generator
Build linear, radial and conic CSS gradients with presets.
Gradient generator
CSS background
background: linear-gradient(90deg, #111827, #ffffff);
About the Gradient Generator
The Gradient Generator builds linear, radial and conic CSS gradients with full control over the angle, the colour stops and their positions, all reflected in a live preview. You can start from a ready-made preset and tweak it, or design a gradient from scratch, then copy the complete, ready-to-use background property in one click.
Front-end developers and designers use it to create backgrounds, buttons, cards and overlays without memorising gradient syntax or resorting to trial and error in a stylesheet. Because you adjust the stops visually and see the result update immediately, fine-tuning a subtle blend or a bold multi-colour sweep becomes fast and predictable.
The CSS is generated in your browser and copied directly to your clipboard, with nothing sent to a server. There is no install and no sign-up, so you can move a polished, production-ready gradient into your project in seconds and keep iterating until it looks exactly right.
Frequently asked questions
What types of gradients can I create?
Linear, radial and conic CSS gradients with full control over angle, color stops and positions.
How do I use the gradient in my CSS?
Click Copy — the ready-to-use CSS background property is copied to your clipboard instantly.