CSS gradient generator
Build a gradient with as many colors as you like and copy the CSS.
FreeNo sign-upRuns in your browser
Color stops
Presets
Guides
Questions
What is the difference between linear, radial and conic gradients?
Linear blends colors along a straight line at the angle you set. Radial spreads colors outward from a center point, like a spotlight. Conic sweeps colors around a center, like a pie chart or a color wheel.
Do CSS gradients work in all browsers?
Linear and radial gradients work in every browser in use today without prefixes. Conic gradients work in all current versions of Chrome, Edge, Firefox and Safari.
Why does my gradient look banded?
Large areas with two close colors can show visible steps on some screens. Add a middle color stop, or place a very subtle noise image on top.
More images and design tools
- Background removerImages and designCut people and products out of photos and get a transparent PNG.Open →
- Image compressorImages and designShrink photos and convert them to WebP, JPEG or PNG.Open →
- Image converterImages and designConvert between PNG, JPG and WebP, and turn SVG into PNG.Open →
- HEIC to JPGImages and designTurn iPhone photos into JPGs that open everywhere.Open →
- Image resizerImages and designResize and crop to exact sizes for Instagram, YouTube, Facebook and more.Open →
- Color palette from imageImages and designPull the main colors out of any photo, with HEX and RGB codes.Open →