CSS Gradient Generator (Linear / Radial / Conic)
Visual builder for CSS linear / radial / conic gradients. 8 beautiful presets, multi-color stops, ready-to-copy CSS. Works with Tailwind v4.
Color stops
Linear / Radial / Conic gradients — copy ready-to-use CSS. Works with Tailwind v4 and vanilla CSS. Click + to add a color stop, drag the slider to adjust position.
Three CSS gradient types
- Linear gradient: color transitions along a straight line. The most common — hero sections, buttons, cards. Syntax:
linear-gradient(135deg, #FF512F, #F09819). - Radial gradient: color radiates from the center. Used for spotlight effects, vignettes. Syntax:
radial-gradient(circle at center, #fff, #000). - Conic gradient: color rotates around the center. Great for color wheels, donut charts. Syntax:
conic-gradient(from 0deg, red, yellow, green, blue, red).
Color stops
Every gradient needs at least 2 colors (color stops). You can add more and pin them at exact % positions:
linear-gradient(90deg,
#ff0000 0%, /* red at start */
#ffff00 50%, /* yellow at middle */
#00ff00 100% /* green at end */
) Design tips
- Don't use more than 3 colors in one gradient — it ends up looking like rainbow vomit.
- Pick two colors of similar warmth (red-orange, blue-purple) — looks nicer than opposites.
- Gradient background + white text: verify contrast with the Color Contrast Checker — avoid AA-fail regions.
- Performance: gradients render on the GPU and are essentially free — no need to optimise.
Tailwind v4 syntax
Tailwind v4 has richer gradient utilities: bg-linear-to-r, bg-radial-[at_50%_50%], bg-conic-180. This tool produces vanilla CSS — paste into style or use the matching utility class.
Who this is for
Frontend devs, UI/UX designers, anyone prototyping visuals fast or generating CSS for Tailwind/React/Vue projects.
FAQ
Does the generated CSS work with Tailwind?
Yes. Output is vanilla CSS, paste into any .css file. For Tailwind projects, use @utilities layer or theme overrides.
Browser compatibility?
Modern CSS syntax (custom properties, grid). Works on Chrome/Firefox/Safari 2020+. IE11 NOT supported.
Related tools
See all tools →Color Picker
Pick HEX/RGB/HSL, RGB sliders, 12 presets, nearest Tailwind name.
NEWCSS Animation Builder
Visual builder for CSS animations. 10 presets (fadeIn, bounce, pulse, spin, shake…). Tweak duration, easing, iteration.
NEWCSS Filter Builder
Visual builder for CSS filters — blur, brightness, sepia, hue-rotate, drop-shadow. 8 presets (Vintage, Polaroid, Noir…).
NEWColor Palette Generator
Generate harmonious palettes from a base color (HSL theory). 6 schemes: Monochromatic, Analogous, Complementary, Triadic… + 10 shades.