Red Yellow
Customize and copy the CSS
Code
background: #FF0000;
background: linear-gradient(135deg, #FF0000 0%, #FFFF00 50%, #0000FF 100%);Color stops
| Stop | Position | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|---|
| Stop 1 | 0% | ||||
| Stop 2 | 50% | ||||
| Stop 3 | 100% |
Save image
Similar gradients
About Red Yellow
Red Yellow is a warm multi-color gradient that runs from #FF0000 to #0000FF. By default it flows top-left to bottom-right at 135°, and #FFFF00 sits near the middle.
The opening color is mid-tone (63% lightness) and the closing one is deep (45%), with an average look that is highly saturated. The hue swings roughly 154° across the color wheel, which gives the gradient a wide, multi-tone sweep.
It suits energetic headers and attention-grabbing badges. Lightness changes a lot along this gradient (52% range), so no single text color holds up everywhere. Put text on a solid card or only over the stronger end.
With a hue change this wide, the default sRGB blend can dull the middle of the gradient. OKLCH interpolation keeps lightness and saturation steady, so try it above and copy the version with "in oklch".
