How to use
- Pick a gradient type (linear / radial / conic) and drag the angle.
- Add or adjust color stops and their positions.
- Click the preview or the CSS code to copy.
FAQ
What is the difference between linear, radial and conic?
Linear transitions along an angle; radial spreads from the center outward; conic sweeps around a center point — great for color wheels and pie effects.
Will gradients work in older browsers?
linear-gradient and radial-gradient are widely supported; conic-gradient needs newer browsers (Chrome 69+ / Safari 12.1+) and is ignored otherwise.
Can I use just two colors?
Yes — two stops is the minimum. Use "Add color" for richer multi-stop gradients.
Text on my gradient is hard to read — what can I do?
Overlay a semi-transparent layer, or pick two colors with a bigger lightness gap; a text-shadow also helps.
Can I use the CSS with Tailwind?
Yes — paste the background value into an arbitrary value, e.g. class="bg-[linear-gradient(135deg,#2563EB,#7C3AED)]".
About this CSS Gradient Generator
Builds native CSS gradient() strings rendered live by your browser, with multiple stops and presets. Everything runs locally.