CSS Gradient Generator
Build linear, radial, and conic CSS gradients visually with a live preview and color stop editor.
Color stops
Presets
background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
How to use CSS Gradient Generator
-
Choose gradient type
Select linear, radial, or conic to switch between gradient modes.
-
Add and adjust color stops
Pick colors using the color pickers or hex inputs. Drag position sliders to control where each color blends.
-
Set direction or shape
For linear, adjust the angle slider. For radial, choose circle or ellipse and set the centre position. For conic, set the start angle.
-
Copy the CSS
Click Copy CSS to copy the ready-to-use background declaration to your clipboard.
CSS Gradient Generator FAQ
What is the difference between linear, radial, and conic gradients?
How many color stops can I add?
Can I use this for Tailwind CSS?
What CSS property does this generate?
Is my data sent anywhere?
Background
The Kordu CSS Gradient Generator lets you build gradient backgrounds visually without hand-coding CSS. Three gradient types are supported:
- Linear — straight gradients at any angle from 0° to 360°
- Radial — circular or elliptical gradients from a configurable centre
- Conic — sweep gradients rotating around a point
Add up to 10 color stops. Each stop has an independent color picker, hex input, and position slider. A gradient bar preview updates as you drag to show exactly how stops blend. Presets (Ocean, Sunset, Mint, Fire, Midnight, Radial Glow) let you start from polished combinations.
The CSS output uses the standard background: shorthand, compatible with all
modern browsers. Copy it with one click and paste directly into your
stylesheet, Tailwind config, or CSS-in-JS.
Common uses: hero section backgrounds, button gradients, card accents, divider lines, progress bars, and design system color ramps.
All generation runs in your browser. Nothing is uploaded or stored.
Related tools
Color Palette Generator
Generate harmonious color palettes using color theory. Complementary, triadic, analogous, and more.
Tint & Shade Generator
Generate tints (lighter) and shades (darker) from any base color. Exports CSS variables.
Color Picker
Pick any color and instantly view HEX, RGB, HSL, HSV, CMYK, alpha, and decimal values. Copy any format with one click.
HTML Encoder / Decoder
Encode the five HTML-special characters into entities and decode named, decimal, and hex entities back to text. Runs fully in-browser.