Gradient Generator

Create beautiful CSS gradients with live preview. Linear or radial, custom stops, one-click copy.

Presets CSS Code Random
Type
Angle
135°
Color Stops
Presets
CSS Code

How it works

Three simple steps —everything happens in your browser.

1

Pick a gradient type

Start with linear or radial mode, then set your angle or shape depending on the effect you want.

2

Adjust colors and stops

Choose your colors, add or remove stops, and fine-tune their positions until the preview looks right.

3

Copy the CSS code

Use the generated CSS exactly as shown, or start from a preset and tweak it further for your project.

Features

Linear & Radial

Switch between linear gradients with angle control and radial gradients.

Custom Color Stops

Add up to 6 color stops with individual position sliders for precise control.

Beautiful Presets

12 curated gradient presets to use as-is or as a starting point.

One-Click CSS Copy

Copy production-ready CSS code to your clipboard instantly.

Why choose ToolKnit Gradient Generator?

Linear, radial & conic

Choose gradient type, angle, and add unlimited color stops with live preview.

Copy CSS instantly

One click to copy the ready-to-use CSS code for your gradient.

Random inspiration

Click Random to discover unexpected color combinations you might not pick manually.

Pro Tips

  • Use background-size to create repeating gradient patterns.
  • Radial gradients are great for spotlight effects and button highlights.
  • Click Random to discover unexpected color combinations.

You May Also Like

Explore more free browser-based tools —no signup, no uploads.