Skip to main content

CSS Conic Gradient Generator

New

Build a CSS conic-gradient() with adjustable color stops, starting angle, and center position — ideal for pie charts, color wheels, and circular progress rings.

cssconic-gradientgradientpie chartcolor wheel
Read the guide
Shortcuts:⌘ KSearch

conic-gradient() sweeps colors around a center point like a clock hand, rather than along a straight line (linear-gradient) or outward from a center (radial-gradient). This makes it the natural choice for pie charts, color wheels, loading spinners, and circular progress indicators, all built with pure CSS and no images.

Continue with:

Frequently Asked Questions

How is a conic gradient different from linear and radial gradients?

A linear gradient transitions colors along a straight line, and a radial gradient transitions colors outward from a center point in expanding circles — a conic gradient instead sweeps colors around a center point like the hands of a clock, which is exactly what makes it suited to pie-chart and color-wheel shapes.

What does the "starting angle" control?

It sets where around the circle the gradient sweep begins (0deg is typically the top, going clockwise), letting you rotate the whole pattern without changing the underlying color stops.

Can I build a CSS-only pie chart with this?

Yes — setting hard color-stop boundaries (for example, the same two colors at adjacent percentages to create a sharp edge instead of a smooth blend) turns the conic gradient into distinct pie-chart-style wedges with no images or SVG required.

Does the center position matter?

Yes — changing it from "center" to a corner (like "top left") shifts where the gradient's pivot point sits within the element, which is useful for radial spotlight or corner-sweep effects rather than a centered wheel.

Do all major browsers support conic-gradient()?

Yes — Chrome, Edge, Firefox, and Safari have all supported `conic-gradient()` since 2020-2021, making it safe to use in most modern production projects today.

Related Tools