UtilToolkits2025-12-11
TL;DR — Use the CSS Gradient Generator to build linear, radial, and conic gradients visually with live preview and copy-ready CSS. Pair gradients with the Glassmorphism Generator for the frosted-glass card look, and use the CSS Color Converter for HEX ↔ RGB ↔ HSL conversions while you’re at it.
Flat design dominated 2014–2020. Then Apple’s Big Sur, Stripe’s site, and a wave of AI-product landing pages quietly reintroduced gradients — but smarter ones: multi-stop, off-axis, subtle. In 2026 a well-tuned background gradient is a visual cue for "modern" the way a drop-shadow once was. Done badly, it screams 2003.
| Type | CSS | Use for |
|---|---|---|
| Linear | linear-gradient(135deg, #fda, #f57) | Hero backgrounds, buttons, cards |
| Radial | radial-gradient(circle at 70% 30%, #6ef, #06f) | Spotlight effects, soft glows |
| Conic | conic-gradient(from 0deg, red, yellow, green, red) | Pie charts, color wheels, loading indicators |
background or a Tailwind bg-[image:...] utility./* Subtle SaaS hero */
background: linear-gradient(135deg, #f6f9fc 0%, #eef2f7 100%);
/* Vibrant CTA button */
background: linear-gradient(90deg, #6366f1 0%, #ec4899 100%);
/* Soft spotlight */
background: radial-gradient(circle at 30% 20%, #fef3c7, transparent 60%),
radial-gradient(circle at 80% 70%, #ddd6fe, transparent 60%);
/* Mesh-style (stacked radials, 2026 favorite) */
background:
radial-gradient(at 20% 20%, hsla(28,100%,74%,0.5) 0px, transparent 50%),
radial-gradient(at 80% 30%, hsla(280,100%,74%,0.5) 0px, transparent 50%),
radial-gradient(at 40% 80%, hsla(189,100%,56%,0.5) 0px, transparent 50%);
in oklch and in hsl color-interpolation methods that avoid the dead-gray midpoint of RGB blends.The frosted-glass card trend is just a semi-transparent background over a colorful gradient, with backdrop-filter: blur(20px). Build the gradient with the Gradient Generator, then layer a card on top using the Glassmorphism Generator for the right opacity, blur, and border settings.
You’ll constantly need to convert between formats — HEX for design tools, RGBA for CSS opacity, HSL for harmonious tweaks. Keep the CSS Color Converter open in a tab. Bonus: many design systems standardize on OKLCH in 2026 because hue interpolation is perceptually uniform.
Linear transitions along a straight line at a given angle; radial transitions outward from a point. Use linear for backgrounds, radial for spotlight or vignette effects.
You’re interpolating in RGB. Add in oklch (linear-gradient(in oklch, red, green)) to interpolate through a perceptual color space — modern browsers support it.
background: linear-gradient(...); -webkit-background-clip: text; color: transparent; on the text element.
Linear and radial gradients are extremely cheap — rendered by the GPU. Stacked mesh gradients with many radials can affect paint cost on low-end mobile; test on real devices.