Gradient Generator

Design linear and radial CSS gradients with a live preview.

Runs entirely in your browser
135°
  • 0%
  • 100%
CSS
linear-gradient(135deg, #3b82f6 0%, #a855f7 100%)
Tailwind
bg-[linear-gradient(135deg,_#3b82f6_0%,_#a855f7_100%)]

FAQ

Can I use CSS variables for the stops?
Not from the picker directly, but you can replace the emitted hex values with var(--color-name) manually after copying.
Why is the Tailwind form a bg-[…] arbitrary value?
Tailwind's built-in bg-gradient-* utilities only cover simple 2-3 stop cases. Arbitrary values let you use any linear/radial gradient without adding a plugin.

Related tools