Building a gradient that is not a muddy band
The default two-stop gradient between two saturated colors often develops a dull grey band through the middle. That is a consequence of interpolating in sRGB: the path between two hues passes through desaturated territory. The practical fix is a third stop near the midpoint holding a saturated color, which pulls the transition away from grey.
This generator gives you linear and radial types, a free angle, and as many stops as you need, each with its own position. The CSS updates as you drag and is ready to paste.
Angles, in the order CSS means them
A linear-gradient angle points in the direction the gradient travels: 0deg runs bottom to top, 90deg left to right, 180deg top to bottom. This trips people up because it is the opposite convention to most drawing software. The live preview removes the guesswork.
Where gradients earn their place
Subtle gradients do real work: a barely-there vertical fade gives a card depth without a border, and a radial highlight behind a hero draws the eye to the headline. Heavy, high-chroma gradients under body text do the opposite — they make the text harder to read at every point along the ramp, and they make it almost impossible to keep a WCAG contrast ratio consistent, since the contrast changes across the element. If text sits on a gradient, check the worst point with the contrast checker, not the average.
For backgrounds that must stay accessible, keep the luminance range of the stops narrow and let the hue do the moving.