Free tool
Gradient generator
Linear, radial and conic gradients with draggable stops. Shape it by eye, then copy the CSS or a Tailwind class.
Type
Colour stops
Click the bar to add a stop. Drag, or use the arrow keys, to move one.
- %
- %
- %
Presets
linear · 3 stops
background: linear-gradient(135deg, #1d4ed8 0%, #38bdf8 55%, #a78bfa 100%);
How the gradient generator works
Pick a gradient type, set the angle, then drag colour stops along the bar to shape the blend. The output updates live as standard CSS (background: linear-gradient(…)) and as a Tailwind arbitrary-value class you can paste straight into className.
- How do I use a CSS gradient in Tailwind CSS?
- Copy the Tailwind tab's output. It is an arbitrary-value class such as bg-[linear-gradient(135deg,#1d4ed8_0%,#38bdf8_55%,#a78bfa_100%)] that works in Tailwind CSS v3 and v4 without any config.
- What is the difference between linear, radial and conic gradients?
- A linear gradient blends along a straight line at an angle, a radial gradient blends outward from a centre point, and a conic gradient sweeps around a centre point like a colour wheel.
More from the workshop
Shadow Generator
Stack soft, layered box-shadows that look like real light. Copy as CSS or Tailwind.
Glass Generator
Tune blur, tint, border and noise for frosted-glass surfaces over any backdrop.
Spring Playground
Feel stiffness, damping and mass before you ship. Copy a Motion transition or a CSS linear() easing.
Theme Builder
Pick a brand colour and radius, preview real components, and copy shadcn-compatible CSS variables.