Color Shades Generator
Build tints, shades and tones from one colour.
Build conic gradients — pie charts, colour wheels and sweeps.
The declaration appears here
The Conic Gradient Generator sweeps colour around a centre point, which is what lets CSS draw a pie chart, a progress ring or a colour wheel with no SVG — using hard stops, which the tool generates from plain percentages.
A conic gradient sweeps around a centre point rather than outward from it, which is what makes it the only gradient that can draw a pie chart, a colour wheel or a progress ring in pure CSS, with no SVG and no canvas.
Hard stops are the technique that unlocks most of it. Putting two colour stops at the same position gives a clean edge instead of a blend, and a series of those is a pie chart — each segment a pair of stops at the angles you want.
The generator covers the smooth case and the hard-stop case, with presets for the shapes people actually build: pie charts from a list of percentages, progress rings, colour wheels, and the checkerboard that marks transparency. Percentages can be entered directly and converted to angles, since a pie chart is specified in parts of a whole rather than in degrees.
Enter 40% and 35% and get the angles; two stops at one position give the clean edge a chart segment needs.
Pie chart, progress ring, colour wheel and the transparency checkerboard, all in pure CSS.
Hard stops are not antialiased, and offsetting them by half a degree solves it. The generator does it for you.
Because a pie chart starts at the top, not at three o’clock where the default puts it.
Supported everywhere since 2020, so the output is one declaration rather than three.
Where the sweep begins, which for a pie chart is usually the top.
As angles or percentages. Two stops at the same position give a hard edge.
Pie chart, progress ring, colour wheel or checkerboard.
One declaration, with a border-radius line for the round versions.
Use hard stops — two stops at the same angle — and set border-radius to 50%. Each segment is a colour from one angle to the next. The generator will take percentages and convert them for you.
A conic gradient with a hard stop at the progress angle, then a circular mask or a matching inner circle to hollow out the middle. Both versions are in the presets.
Yes, in every browser since 2020. No prefix is needed and no fallback is normally warranted.
Hard stops are not antialiased in most browsers, so a sharp boundary can look ragged. Offsetting the two stops by a fraction of a degree — 0.5deg apart rather than identical — smooths it without a visible blend.
What people who use the Conic Gradient Generator think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Conic Gradient Generator. It takes half a minute and no account.
Write the first reviewBuild tints, shades and tones from one colour.
Check whether a colour code is valid, and fix it if not.
Check any text and background pair against WCAG AA and AAA.
Build a whole palette from one hue, and nothing else.
Convert CIELAB to HEX and RGB, and measure ΔE between colours.
One colour, every notation — HEX, RGB, HSL, HWB, LAB, LCH and OKLCH.
Find the true complement of any colour, and the near ones.
Convert HSL to HEX and back, with the maths written out.