Jakojak.Tools
Settings
Angle 135°
Presets
Color Stops
CSS Code

What is a CSS gradient?

A CSS gradient is a background that blends two or more colors, with no image file. CSS has three types: linear-gradient blends along a line, radial-gradient spreads out from a center, and conic-gradient turns around a center. Use one for hero sections, buttons and overlays.

How to use the gradient generator

  1. Pick Linear, Radial or Conic.
  2. Set the Angle, or the Shape for a radial gradient.
  3. Change the colors under Color Stops and move their positions. Click + Add Stop for more colors (up to 8).
  4. Click a preset to start from a ready gradient.
  5. Click Copy to copy the CSS.

What does the angle mean?

In linear-gradient, 0deg goes from bottom to top, 90deg from left to right and 180deg from top to bottom. 135deg gives a diagonal from top left to bottom right. The copied CSS also has a background line with the first color, for browsers that do not support gradients.

Frequently Asked Questions

What is a linear gradient?

A blend of colors along a straight line at an angle, for example linear-gradient(135deg, #ff6b57, #ffb057).

What is a radial gradient?

A blend that spreads out from a center point as a circle or an ellipse, for example radial-gradient(circle, #ff6b57, #1a1a2e). It suits glow and spotlight effects.

What is a conic gradient?

A blend that turns around a center point, like a color wheel, for example conic-gradient(from 0deg, red, yellow, red). It suits pie charts and loaders.

How many color stops can I add?

Up to 8. Each stop has a color and a position from 0% to 100%.

Do CSS gradients work in all browsers?

Yes, all current browsers support linear, radial and conic gradients. The copied CSS starts with a solid background color as a fallback for very old browsers.