Kharabeesh
On-device ع

Gradient Generator

Design linear, radial or conic gradients with draggable colour stops, copy ready CSS and Tailwind code, or download a PNG at any size.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Choose the gradient type, or start from a preset.
  2. Drag the colour stops along the bar, and click the bar itself to add a stop. Select a stop to change its colour and opacity.
  3. Copy the CSS or Tailwind code, or set a size and download a PNG.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: lightweight in-page code, no external libraries.
  • Works offline after you open it once.

Frequently asked questions

Is the PNG the same as the preview?

Very close. The image is drawn pixel by pixel with the same geometry as CSS (gradient line length, farthest-corner for radial, angle from the top for conic), blending premultiplied colours like browsers do.

How do I move a stop with the keyboard?

Tab to the stop, move it with the left and right arrows (Shift moves 10%), and press Delete to remove it. At least two stops must remain.

Why does the Tailwind code have underscores?

Tailwind writes arbitrary values inside [ ] and turns _ into spaces. The code works with Tailwind 3 and later.

Related tools