Free Online CSS Gradient Generator
Create linear, radial and conic CSS gradients in seconds: choose the type, adjust the angle and color stops, preview the result live, then copy the ready-to-paste code. No account, no upload: everything happens in your browser.
Updated on October 12, 2026
Build your gradient, copy the CSS
Gradient type, angle, colors and positions: everything updates live in the preview. The CSS code is ready below.
The CSS gradient generator is free and unlimited: create as many as you want, no account needed. The gradient is built in your browser — no server is involved.
A complete CSS gradient generator
Linear, radial and conic: the three CSS families
Switch from one family to another in one click: the same set of stops is automatically reformulated into linear-gradient(), radial-gradient() or conic-gradient(). The angle and origin position are shown or hidden depending on the type you choose.
Choose my typePrecise angle and fully flexible color stops
Set the angle from 0 to 360°, move each color stop anywhere along the 0–100% range, and add as many stops as you need. The hex value of each stop can also be typed with the keyboard to paste a color from your brand identity.
Fine color tuningLive preview and ready-to-paste CSS code
Every change is reflected immediately in the large preview. The full code — background: linear-gradient(…); — is written at the bottom of the tool. One click on “Copy” puts it on your clipboard, ready for your CSS, your JSX or your inline style.
Copy my CSSPrivate: your gradient stays on your device
Generation runs entirely in your browser: nothing is sent, nothing is stored on a server. Your latest creation is kept locally on your device so you can pick up where you left off — ideal for iterating on a brand identity.
Privacy PolicyCreate a CSS gradient in three steps
Choose the type
Linear for a directional background, radial for a glow, conic for a ring. The active button immediately rewrites the code and displays the settings suited to the chosen family.
Set the angle and colors
Move the Angle slider, position the origin (X/Y) for radial and conic gradients, then fine-tune each stop: color picker, hexadecimal value and percentage position. Add stops for richer transitions.
Copy the CSS code
The full line appears at the bottom of the tool. Click “Copy” then paste it into your stylesheet, component or editor — the gradient renders identically anywhere CSS is supported.
Frequently asked questions about CSS gradients
What is a CSS gradient?
What is the difference between linear, radial and conic gradients?
How do I control the angle of a linear gradient?
What are color stops?
How do I use the generated gradient in my CSS?
Do CSS gradients work in all browsers?
Can I overlay a gradient on an image?
Is the tool private and free?
Everything you need to know about CSS gradients
The CSS gradient has become the lightest and most flexible way to dress up a background, a button or a card. No more exporting a PNG from an image editor: the browser calculates the transition between your colors, in vector format, in a few dozen bytes. The CSS gradient generator from Volade produces the exact code — angle, stops, origin position — while you compose it on screen.
linear-gradient: the directional gradient
The function linear-gradient() takes an angle followed by the stops: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%). The angle 0deg points up, 90deg to the right, 180deg down. Without an angle, the browser goes from top to bottom. This is the most widely used syntax for headers, call-to-action buttons and section banners.
radial-gradient: the glow and the ellipse
The function radial-gradient() starts from a point (the center by default) and spreads as a circle or ellipse. The origin position is written as at X% Y%: radial-gradient(circle at 50% 50%, …). Perfect for a glow effect behind a heading, a hero background centered on the middle, or a synthetic soft shadow. The tool provides two X and Y sliders to place the origin to the pixel.
conic-gradient: rotation around a point
The function conic-gradient() rotates around a point, like the hands of a clock. It is written conic-gradient(from 90deg at 50% 50%, …) and lets you create rings, circular gauges, colored borders or prism effects. Each stop takes up an angular sector: by placing several colors, you draw a CSS pie chart without a single image.
Color stops
Each stop pairs a color with a percentage position: #7a2fe2 0%, #a358ee 55%, #f3e8ff 100%. Identical positions on two colors create a hard transition (hard edge); positions set further apart produce a gradual fade. More than two stops allow multi-color palettes, bands or material simulations (metal, pearl, northern lights).
Layering a gradient and adding a fallback
In the shorthand background, order matters: foreground first. A dark overlay on a photo is written background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)), url(photo.webp);. Always place a solid color as a fallback (background-color) for very old browsers or while the image loads.
Performance best practices
A CSS gradient is recalculated on every resize: keep the number of stops reasonable (2 to 5 are enough in 90% of cases) and avoid multiple overlays on very large surfaces on mobile. Prefer stable hex or HSL values, and freeze the angle as soon as the design is approved to avoid micro-differences between browsers.
Gradients in the Volade brand style
To build a cohesive palette before rolling out your gradients, combine the palette generator and the color picker : identify your brand shades, then paste them here as stops. The result copies straight into your CSS, your design system or your theme — on desktop and on mobile, with no account and no data sent.