Slate Fade Gradient
CSS
background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);Open in Gradient Maker →
Other formats
CSS custom property
--gradient-slate-fade: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
Tailwind arbitrary value
bg-[linear-gradient(180deg,_#f8fafc_0%,_#e2e8f0_100%)]
Same colours, other shapes
The same stops passed through the other gradient functions — copy whichever suits the surface.
Reversed direction
background: linear-gradient(0deg, #f8fafc 0%, #e2e8f0 100%);Radial
background: radial-gradient(circle, #f8fafc 0%, #e2e8f0 100%);Conic
background: conic-gradient(from 180deg, #f8fafc 0%, #e2e8f0 100%);Text on this gradient
Aa
1.05:1
Aa
15.33:1
Measured against every stop, near-black text holds a worst-case contrast of 15.33:1 on this gradient. Passes WCAG AA for body text (4.5:1).
Color stops
About this gradient
Slate Fade is a ready-to-use CSS gradient with 2 color stops. Copy the CSS below, open it in the Gradient Maker to tweak the angle and stops, or click any stop color for its full breakdown.
More gradients