Build linear, radial and conic gradients visually — with an angle dial, colour stops and opacity — then copy clean CSS, SCSS or Tailwind code.
Linear, radial or conic.
Colours sweep around a centre point, like a colour wheel. Use the angle to rotate where it starts.
Click one to replace your colour stops.
Copy it straight into your stylesheet.
A linear gradient blends colours along a straight line at an angle: 0deg points up, 90deg to the right and 180deg down. A radial gradient spreads outward from a centre point as a circle or an ellipse, and its size keyword decides where the last colour ends. A conic gradient rotates colours around a centre, which is ideal for colour wheels, pie-style charts and shiny metallic effects.
Each colour stop has a position. Two stops at the same position make a hard edge instead of a smooth blend.
Two or three stops with similar hues usually look smoother than many contrasting ones. Gradients between very different hues can look muddy in the middle; add a middle stop to control it. Use opacity on a stop to fade into whatever is behind the element, and keep enough contrast if you place text on top of a gradient.
Choose the type, set your colour stops and angle, then copy the generated background rule. For example background: linear-gradient(90deg, #fab60d 0%, #0a1626 100%); draws a left-to-right gradient.
Linear gradients change colour along a line, radial gradients spread from a centre point outward, and conic gradients sweep colours around a centre point like a clock face.
Lower the opacity value of a stop. The tool outputs rgba() colours for stops below 100%, so a gradient can fade to transparent over an image or background.
Select the Tailwind tab and copy the class, for example bg-[linear-gradient(90deg,#fab60d_0%,#0a1626_100%)]. It uses an arbitrary value, so it works without editing your config.
0° points to the top, 90° to the right, 180° to the bottom and 270° to the left. Conic gradients use the same angle as the starting point of the sweep.
Linear and radial gradients work in all modern browsers. Conic gradients are supported in current Chrome, Edge, Safari and Firefox. The CSS output also includes a plain colour fallback line for very old browsers.
Yes, it is free, needs no sign-up and runs entirely in your browser.