CSS Gradient Generator
Build beautiful gradients and copy production-ready CSS. Import colors from the palette generator or start from presets.
background: linear-gradient(90deg, #5B21B6 0%, #7C3AED 50%, #C4B5FD 100%); background: -webkit-linear-gradient(90deg, #5B21B6 0%, #7C3AED 50%, #C4B5FD 100%); background: linear-gradient(90deg, #5B21B6 0%, #7C3AED 50%, #C4B5FD 100%);
Import colors from the palette generator. Bright RGB gradients may shift in CMYK print — verify before production.
Color tools
More free color tools
Palettes, gradients, accessibility checks, and print-ready conversions — all in one place.
- Color Palette Generator
Generate harmonious palettes from one color — complementary, triadic, analogous, and more. CMYK values and print gamut warnings included.
- WCAG Contrast Checker
Check color contrast ratios against WCAG 2.1 AA and AAA. Includes palette matrix mode and auto-fix suggestions.
- Tint & Shade Generator
Turn one brand color into a Tailwind-compatible 50–950 scale with WCAG contrast badges on every swatch.
- Palette from Image
Extract dominant colors from any photo — runs entirely in your browser. Send colors to converters or palette tools.
- Color Blindness Simulator
Preview palettes as seen with protanopia, deuteranopia, or tritanopia. Essential for accessible design.
- Interactive Color Wheel
Drag to pick a hue and see complementary, triadic, and analogous harmonies live — with HEX, RGB, and CMYK values.
- Print Gamut Checker
See exactly how a screen color shifts when printed in CMYK. Side-by-side press preview with shift warnings.
- Compare Colors (Delta E)
Measure the perceptual difference between two colors with ΔE2000 — plus HEX, RGB, CMYK, and HSL values for both.
CSS gradient syntax quick reference
background: linear-gradient(135deg, #5B21B6 0%, #C4B5FD 100%); background: radial-gradient(circle, #FFFFFF 0%, #7C3AED 100%); background: conic-gradient(from 90deg, #FF512F, #F09819, #FF512F);
Import a palette from the color palette generator using the query link, or extract colors from a photo with the palette from image tool.
FAQ
Frequently asked questions
Questions about CSS gradients and this generator.
- What is a CSS gradient generator?
- A CSS gradient generator lets you pick colors and stops visually, then outputs
linear-gradient,radial-gradient, orconic-gradientCSS you can paste into stylesheets or design tools. - What is the difference between linear and radial gradients?
- Linear gradients transition along a straight line (controlled by angle). Radial gradients radiate outward from a center point — ideal for glows and spotlights.
- Can I use three colors in one gradient?
- Yes. Switch to 3-color mode or add up to five stops with custom positions for fine control.
- Will my gradient print correctly in CMYK?
- Neon RGB gradients often shift on press. For print work, verify key stops in the HEX to CMYK converter before production.