Graduo — Tailwind & OKLCH gradient generator
Build linear, radial, and conic CSS gradients with OKLCH interpolation that skips the gray dead zone, then copy them as Tailwind arbitrary-value classes, plain CSS, or SCSS. Everything runs in your browser and stays shareable through the URL — no signup, no paywall.
Presets
Start inspired.
Recent
Your History
Copy a gradient to start building history
Snippet library
CSS gradient snippets: linear, radial, conic, mesh, Tailwind, and SCSS.
Most production gradients start from a known-good pattern rather than a blank background: line. The snippets below are organized by category — linear, radial, conic, hero washes, mesh effects, UI components — so you can copy one straight into a stylesheet or className and retune the colors to taste. Every snippet uses in oklch interpolation; drop that clause to fall back to sRGB if you need to.
Related concepts
- Color-interpolation methods. sRGB, OKLCH, OKLab, LCH, and HSL each produce a different midpoint when blending two colors.
- CSS Color Module Level 4. The spec that introduced the oklch() function and the in <colorspace> interpolation clause.
- Tailwind arbitrary values. The [value] bracket syntax that lets any CSS value land inside a utility class.
- Layered backgrounds. Comma-separated background declarations stack front-to-back and power CSS mesh effects.
- CSS custom properties for gradients. Variables like --mouse-x make gradients respond to pointer position and other live state.