EN

Rainbow Gradients

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.

Classic Rainbow

background: #BCC00A;
background: linear-gradient(90deg, #BCC00A 0%, #00D2C6 25%, #92B6FF 50%, #FC87D8 75%, #FF9A49 100%);
Open in gradient generator

Pastel Rainbow

background: #BBAF6B;
background: linear-gradient(135deg, #BBAF6B 0%, #63C0B8 33%, #9EA9E7 67%, #DF96A7 100%);
Open in gradient generator

Prism

background: #9DA500;
background: linear-gradient(45deg, #9DA500 0%, #00B59E 25%, #22A3FB 50%, #BE7AE6 75%, #F16A74 100%);
Open in gradient generator

Neon Spectrum

background: #E99200;
background: linear-gradient(180deg, #E99200 0%, #00C781 33%, #5BADFF 67%, #F76ECC 100%);
Open in gradient generator

Soft Arc

background: #C38214;
background: linear-gradient(120deg, #C38214 0%, #5BA658 25%, #00A3BC 50%, #8885E1 75%, #D06B97 100%);
Open in gradient generator

Unicorn

background: #FF87A1;
background: linear-gradient(160deg, #FF87A1 0%, #BAB914 33%, #00C7E2 67%, #D790FA 100%);
Open in gradient generator

Color Wheel

background: #E16955;
background: linear-gradient(225deg, #E16955 0%, #A29600 25%, #00AB91 50%, #3897EC 75%, #BD70CA 100%);
Open in gradient generator

Pride Sweep

background: #AC9600;
background: linear-gradient(315deg, #AC9600 0%, #00ACAA 33%, #927FFF 67%, #F5595F 100%);
Open in gradient generator

How to use a CSS gradient as a background

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.

More gradients