Hot and Cold

Customize and copy the CSS

Code

background: #2563EB;
background: linear-gradient(135deg, #2563EB 0%, #DC2626 100%);

Color stops

Color stops
StopPositionHEXRGBHSLOKLCH
Stop 10%
Stop 2100%

Save image

Image size

About Hot and Cold

Hot and Cold is a balanced multi-color gradient that runs from #2563EB to #DC2626. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #AF35B8.

Both colors are mid-tone (55% and 58% lightness), 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 tech products, onboarding screens and navigation bars. White text keeps at least 4.8:1 contrast across every stop, which passes WCAG AA for body text.

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".

Hot and Cold gradient: #2563EB, #DC2626

Blue color palettes

See all