Click the bar to add a stop. Drag handles to move them; arrow keys nudge, Delete removes.
The first line is a fallback with precomputed stops for browsers without “in oklab/oklch” support.
Build linear, radial and conic gradients with as many color stops as you like, blended in sRGB, OKLab or OKLCH. Copy the result as CSS, a Tailwind class or SVG, or download it as a PNG, JPG or WebP image up to 8192 px per side.
Choose a Type (Linear, Radial or Conic) and set the Angle, the Shape or the center; for radial and conic you can drag on the preview to move the center.
Edit the Color stops: click the bar to add a stop, drag handles to move them, and change each color and position in the list.
Pick how to Blend colors in (sRGB, OKLab or OKLCH), or start from one of the Presets or Random.
Copy the code from the CSS, Tailwind or SVG tab.
For an image, set Width and Height or pick a size, choose PNG, JPG or WebP, and click Download.
sRGB is classic CSS blending, where complementary colors can turn grey in the middle. OKLab is perceptually even, with no muddy midpoints. OKLCH keeps colors vivid by moving around the hue wheel.
The CSS output starts with a fallback line that uses precomputed stops for browsers without “in oklab” or “in oklch” support. The SVG code and downloaded images use precomputed stops too, so they look the same everywhere.
SVG has no conic gradient. Download a PNG, JPG or WebP image instead.
Yes, colors with alpha such as rgba() or #rrggbbaa work. Download PNG or WebP to keep the transparency, since JPG has no alpha channel.
No. The image is drawn on a canvas in your browser and saved directly, at any size from 1 to 8192 px per side.
Focus a stop handle and use the arrow keys to move it by 1% (Shift for 10%), Home or End to jump to the ends, and Delete to remove it. A gradient always keeps at least two stops.