CSS gradients create smooth colour transitions that scale perfectly at any resolution, replace simple background images without an HTTP request, and animate smoothly. This generator covers linear, radial, and conic gradient types with multi-stop support, live preview, and clean CSS output including the -webkit- prefix for maximum browser compatibility.
Linear: transitions along a straight line at any angle. Radial: radiates from a centre point outward in a circle or ellipse. Conic: rotates colour stops around a centre point — the same as a colour wheel or pie chart. All three accept as many colour stops as you need, at any position. Combining gradient types via multiple backgrounds creates complex visual effects.
-webkit-linear-gradient prefix includedA conic gradient sweeps colour stops around a central point — like hands on a clock face. conic-gradient(red, blue, red) creates a colour wheel. It's useful for pie charts, loading spinners, and angle-based visualisations.
Use hard stops: repeating-linear-gradient(45deg, #000 0, #000 25%, transparent 0, transparent 50%). Hard stops (two colours at the same position) create sharp edges instead of blends.
Yes — CSS allows multiple backgrounds separated by commas: background: linear-gradient(...), radial-gradient(...). Layers stack from top (first listed) to bottom.
Modern browsers all support standard CSS gradient syntax. Differences may arise from colour space — CSS Color Level 4 introduces in oklch and similar modifiers for perceptually uniform interpolation. Without these, gradients use sRGB interpolation, which all browsers handle identically.
See also the CSS Gradient Generator, Box Shadow Generator, and Color Palette Generator.