Loading color tools…
Loading color tools…
Build linear, radial, and conic gradients with a live preview. Copy CSS or Tailwind code instantly.
Hand-writing gradient CSS means guessing at angles and color stop percentages, then reloading the page to see if the blend actually looks right. This tool replaces that guesswork with a visual editor: pick a gradient type, drag the angle, and add or reposition color stops while watching the preview update live. It supports all three CSS gradient shapes — linear, radial, and conic — and generates ready-to-use CSS alongside a matching Tailwind arbitrary-value class. Everything runs as client-side JavaScript, so there's nothing to upload and no rendering delay.
Pick any color and instantly get its HEX, RGB, HSL, and CMYK values
Generate beautiful multi-color palettes from a single seed color
Upload an image and extract its dominant colors as a palette
Convert colors between HEX, RGB, HSL, HSV, and CMYK formats instantly
Choose gradient type
Pick Linear, Radial, or Conic from the type buttons at the top.
Adjust the angle
Drag the angle slider (0°–360°) to rotate a linear or conic gradient.
Edit color stops
Change each stop's color using the picker or HEX input. Drag the position slider to move where that color appears.
Add or remove stops
Click '+ Add Stop' to add more colors. Click ✕ on any stop to remove it. Minimum two stops required.
Copy the CSS
The CSS background property and Tailwind arbitrary value update in real time. Click 'Copy CSS' to grab the code.
CSS defines three gradient functions, and this tool builds all of them. linear-gradient() paints color transitions along a straight line at a specified angle, where 0deg points to the top of the element and the angle increases clockwise — so 90deg points right and 180deg points down. radial-gradient() instead radiates outward from a center point in a circle or ellipse shape, useful for spotlight or vignette effects. conic-gradient() sweeps colors around a center point like a color wheel or pie chart, which is the only one of the three that can produce a true rainbow-style rotation without multiple overlapping gradients.
Each color stop you add has both a color and a position (0% to 100%) along the gradient's path. The browser interpolates between adjacent stops in the sRGB color space by default, blending each RGB channel linearly. This works well for adjacent hues but can produce a dull, grayish midpoint when blending colors from opposite sides of the color wheel — red to green, for instance — because linear RGB blending doesn't travel around the hue circle, it cuts straight through the middle of the color space. Adding an intermediate stop along the intended hue path is the standard fix.
The generator keeps the CSS output and a Tailwind CSS arbitrary-value class in sync as you edit, so you can paste either directly into a stylesheet or a className without manual translation. If you're building a gradient to sit behind text, it's worth checking the resulting contrast at both gradient endpoints with the Contrast Checker, since a gradient that looks fine on average can still fail WCAG contrast at one end.
Unlike most online tools, Toolivon processes everything directly in your browser using the Web APIs built into Chrome, Firefox, Safari, and Edge.
Last updated: