Check WCAG color contrast ratios for accessibility.
Open toolGradient Generator
Design and export CSS gradients visually.
Privacy and limitations
Your tool input is processed in this browser rather than submitted to our server. Large inputs can be slow or exceed your device's memory. Keep a copy of the original and check the output before relying on it; formatting or conversion does not establish that the content is correct or safe.
Read the privacy policyAbout Gradient Generator
This tool lets you visually build a CSS linear or radial gradient - add color stops, drag their position, adjust the angle, and copy the exact CSS to use in your project.
How to use this tool
- 1Choose Linear or Radial.
- 2For linear gradients, adjust the angle.
- 3Add, remove, or reposition color stops using the color pickers and sliders.
- 4Copy the generated CSS.
Common use cases
Frequently asked questions
What's the difference between linear and radial gradients?
A linear gradient transitions along a straight line at a chosen angle; a radial gradient radiates outward from a center point in a circular pattern.
How many color stops can I add?
Up to six, which covers the vast majority of practical gradient designs.
Can I use color names or rgba() instead of hex?
The color picker outputs hex values, but you can manually edit the text field next to it to enter any valid CSS color format.
Is my design sent anywhere?
No - the gradient is built and rendered entirely in your browser.
{
"runs_in_browser": true,
"data_sent_to_server": false,
"signup_required": false,
"price": "free",
"category": "Color Tools"
}