Design a smooth two-colour gradient with a live preview. Pick your colours and direction, then copy the ready-made CSS for your stylesheet. Free, instant and private, with no sign-up needed.
How to Use
- Pick Colour 1 and Colour 2 with the colour pickers.
- Choose the gradient direction from the dropdown.
- Preview the gradient live, then click Copy CSS and paste it into your stylesheet.
Key Features
- Live preview – the gradient updates as you change colours or direction.
- Ready-made CSS – a clean linear-gradient declaration to paste anywhere.
- Four directions – horizontal, vertical and two diagonals.
- 100% private – everything runs in your browser; nothing is sent anywhere.
FAQs
Is this CSS gradient generator free?
Yes. It is completely free with no sign-up and no limits.
What CSS does it output?
It outputs a standard linear-gradient declaration, for example: background: linear-gradient(to right, #0F766E, #F59E0B);. Paste it into any CSS rule.
Can I use the gradients commercially?
Yes. Any gradient you create here is yours to use in any project, personal or commercial.
Is my data stored anywhere?
No. The gradient is built entirely in your browser and nothing is transmitted or saved.
Related Tools
CSS Box Shadow Generator · CSS Border Radius Generator · Color Palette Generator