CssShift logo CssShift — CSS Gradient Studio

Mint to Sky Blue Gradient — CSS, Hex and Angles

Pale and airy; low contrast, so it belongs behind dark text and never behind white. The pair is #6EE7B7 → #38BDF8, and on a 135° axis it reads as a diagonal wash. Everything below is generated from those two values, so the CSS you copy is exactly what the previews render.

0° · bottom to top
45°
135° · default
90° · left to right
radial
conic

Copy the CSS

CSS
.gradient {
  background: #6EE7B7; /* fallback for old browsers */
  background: -webkit-linear-gradient(135deg, #6EE7B7 0%, #38BDF8 100%);
  background: -moz-linear-gradient(135deg, #6EE7B7 0%, #38BDF8 100%);
  background: linear-gradient(135deg, #6EE7B7 0%, #38BDF8 100%);
}
CSS-in-JS
const gradientStyle = {
  background: '#6EE7B7', // fallback
  backgroundImage: 'linear-gradient(135deg, #6EE7B7 0%, #38BDF8 100%)',
};

The two endpoints

NameHexRGBHSLvs whitevs black
Mint#6EE7B7rgb(110, 231, 183)hsl(156, 72%, 67%)1.52:113.78:1
Sky Blue#38BDF8rgb(56, 189, 248)hsl(198, 93%, 60%)2.14:19.80:1

The midpoint is #53d2d8 (rgb(83, 210, 216), saturation 63%). Close to the 82% the two ends average, so the transition stays saturated throughout.

What each angle does

AngleDirectionFunction value
0°bottom → toplinear-gradient(0deg, #6EE7B7 0%, #38BDF8 100%)
45°bottom-left → top-rightlinear-gradient(45deg, #6EE7B7 0%, #38BDF8 100%)
90°left → rightlinear-gradient(90deg, #6EE7B7 0%, #38BDF8 100%)
135°top-left → bottom-rightlinear-gradient(135deg, #6EE7B7 0%, #38BDF8 100%)
180°top → bottomlinear-gradient(180deg, #6EE7B7 0%, #38BDF8 100%)
225°top-right → bottom-leftlinear-gradient(225deg, #6EE7B7 0%, #38BDF8 100%)
270°right → leftlinear-gradient(270deg, #6EE7B7 0%, #38BDF8 100%)
315°bottom-right → top-leftlinear-gradient(315deg, #6EE7B7 0%, #38BDF8 100%)

The same pair as linear, radial and conic

TypeFunction value
linearlinear-gradient(135deg, #6EE7B7 0%, #38BDF8 100%)
radialradial-gradient(circle at 50% 50%, #6EE7B7 0%, #38BDF8 100%)
conicconic-gradient(from 0deg at 50% 50%, #6EE7B7 0%, #38BDF8 100%)

Frequently asked

What is the CSS for a mint to sky blue gradient?
background: linear-gradient(135deg, #6EE7B7 0%, #38BDF8 100%); — #6EE7B7 at 0% and #38BDF8 at 100%, on a 135° axis. Swap 135deg for to right if you want the direction to follow the element ratio instead of a fixed angle.

Does it need vendor prefixes?
Not for current browsers. Unprefixed linear-gradient has been supported everywhere for years, and the -webkit- / -moz- lines only matter for stacks that still ship to browsers older than 2013. The generator emits both, plus a solid #6EE7B7 fallback.

Why would the middle look muddy?
This pair does not: both ends are close enough in hue that a straight sRGB blend stays clean, with mid #53d2d8 holding 63% saturation against 82% at the ends.

Can I put text straight onto it?
Check both ends, not the average. White text clears 4.5:1 against neither end and black text clears it against the mint end. Measured ratios: Mint is 1.52:1 on white and 13.78:1 on black; Sky Blue is 2.14:1 on white and 9.80:1 on black.

Related gradients