CSS Gradient Generator
Design linear and radial gradients with live preview and copyable CSS.
background: linear-gradient(90deg, #7C3AED 0%, #2563EB 100%);
Everything runs in your browser, nothing is sent or stored anywhere.
About this tool
Gradients add depth and energy to buttons, hero sections, cards, and backgrounds, but writing them by hand means guessing at angles and stop positions. The JoliTools CSS Gradient Generator gives you a visual canvas where every change updates instantly, so you can experiment freely until the gradient looks exactly right.
You control every part of the gradient: up to six color stops, each with its own position slider, a 360-degree angle control for linear gradients, and one-click switching to radial mode for soft spotlight effects. The generated CSS is a single background declaration you can copy and paste anywhere, no build tools or vendor prefixes needed.
How to use the css gradient generator
- 1Choose Linear or Radial for the gradient type.
- 2Set each stop's color and drag its position slider.
- 3Click + Add color stop to add up to 6 colors (or remove stops you don't need).
- 4Adjust the angle slider for linear gradients.
- 5Click Copy CSS and paste the background rule into your stylesheet.
Good to know
Like every JoliTools utility, the gradient generator works entirely in your browser with no sign-up and no cost. Tweak, preview, and copy as much as you like, whether you are styling a personal project or a client deliverable.
Frequently asked questions
Related tools
More free tools you might find useful.
Color Palette Generator
Generate harmonious 5-color palettes you can copy in one click.
GeneratorsBox Shadow Generator
Craft the perfect CSS box shadow with live sliders and one-click CSS.
GeneratorsColor Picker
Pick colors and convert HEX, RGB and HSL instantly
Developer ToolsQR Code Generator
Create QR codes for links, Wi-Fi, business cards and more
GeneratorsPart of Generators on JoliTools, free tools, no sign-up.