CSS Gradient Generator
Design a gradient with a live preview and copy CSS that works in every current browser.
Runs in your browser · No uploads
Colors
Ready-made
Your browser is too old to run this tool. Please update it, or use a current version of Chrome, Edge, Firefox or Safari.
- Nothing leaves your device
- No server-imposed size limits
- No sign-up, no watermark
- Free
How to make a CSS gradient
- Pick linear, radial or conic, or start from a ready-made gradient.
- Set the angle or center, and add, move or remove colors.
- Copy the CSS.
Good to know
- Each color can be partly see-through, which is handy for overlays on photos.
- "Repeat the pattern" turns the gradient into stripes or rings.
- The CSS includes a plain background color for very old browsers.
Frequently asked questions
Will it work in all browsers?
Linear and radial gradients work everywhere; conic gradients work in all current browsers.
Is anything uploaded?
No. The preview is drawn by your browser.
Related tools
-
Make a CSS box shadow
Design layered box shadows with a live preview and copy the CSS. -
Convert color codes
Convert colors between HEX, RGB, HSL, HSV and CMYK, with tints and shades. -
Check color contrast
Check text and background colors against WCAG AA and AAA. -
Format or minify CSS
Beautify CSS for reading, or minify it for a smaller file.