Classic Rainbow
background: #BCC00A; background: linear-gradient(90deg, #BCC00A 0%, #00D2C6 25%, #92B6FF 50%, #FC87D8 75%, #FF9A49 100%);
Rainbow gradients with ready-to-copy CSS. Download any of them as a PNG background (1920×1080) or open it in the gradient generator to change the colors and angle. Rainbow gradients sweep across the hue wheel; keep text off the busiest middle part.
Paste the copied CSS into the rule for your element, for example .hero { … }. The first line is a solid fallback color; the second is the gradient. To cover the whole page, put it on body with min-height: 100vh. For text on top, check the lightest and darkest part of the gradient with the contrast checker.
Want different colors or a radial or conic version? Open any gradient in the CSS gradient generator. Matching palettes: color palettes.