Dial in a gradient visually, copy the CSS — linear or radial, any angle, instant preview.
🔒 Everything runs in your browser
The secret to a pleasing gradient is picking two colors that aren't too far apart in brightness — a saturated color fading into a slightly cooler or warmer neighbor almost always works. Keep hitting Random Gradient until something catches your eye, fine-tune the two colors, and set the angle: 135° (top-left to bottom-right) is the classic choice for hero sections and cards. The generated code uses the standard linear-gradient() / radial-gradient() syntax supported by every modern browser.