Red Green

Customize and copy the CSS

Code

background: #EF4444;
background: linear-gradient(135deg, #EF4444 0%, #22C55E 100%);

Color stops

Color stops
StopPositionHEXRGBHSLOKLCH
Stop 10%
Stop 2100%

Save image

Image size

About Red Green

Red Green blends two colors, starting at #EF4444 and ending at #22C55E. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #BC9100.

The first color is mid-tone (64% lightness) and the second one is light (72%), with an average look that is highly saturated. The hue swings roughly 124° across the color wheel, which gives the gradient a wide, multi-tone sweep.

It suits sale banners, alerts and bold call-to-action buttons. Black text keeps at least 5.5:1 contrast across every stop, which passes WCAG AA for body text.

A wide hue shift is where the default sRGB blend tends to go gray in the middle. Turn on OKLCH interpolation above for a cleaner path between #EF4444 and #22C55E.

Red Green gradient: #EF4444, #22C55E

Red color palettes

See all