Cover image for Stop writing CSS gradients by hand — free generator with Tailwind and SCSS export

Avishek Dhimal

Writing linear-gradient(135deg, #667eea 0%, #764ba2 100%) from scratch every time is tedious. Remembering the syntax for radial and conic gradients is even worse.

I added a free CSS gradient generator to PaletteCSS that handles all three gradient types with a live visual preview.

What it supports

  • linear-gradient — any angle, drag the dial or type degrees
  • radial-gradient — circular and elliptical
  • conic-gradient — pie-chart style, great for progress rings and color wheels
  • Up to 5 color stops with draggable positions

Instant copy in 3 formats

CSS

background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

Enter fullscreen mode Exit fullscreen mode

SCSS

$gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

Enter fullscreen mode Exit fullscreen mode

Tailwind

style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%)"

Enter fullscreen mode Exit fullscreen mode

Try it free

👉 https://palettecss.com/css-gradient-generator

No signup. The site also has a browsable gradient library if you want inspiration rather than building from scratch.

Any gradient types or export formats you'd want added? Drop a comment.