#F0F9FF
#E0F2FE
#BAE6FD
Frosted Glass is a cool and pastel 3-colour linear gradient that runs from off-white (#F0F9FF) through off-white (#E0F2FE) to pale blue (#BAE6FD) at 135°. It suits dashboards and SaaS landing pages and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 17.9:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #F0F9FF, #E0F2FE, #BAE6FD);
bg-gradient-to-br from-[#F0F9FF] via-[#E0F2FE] to-[#BAE6FD]
{
"frosted-glass": {
"value": "linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 50%, #BAE6FD 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let frostedGlassGradient = LinearGradient(
colors: [
Color(red: 0.941, green: 0.976, blue: 1),
Color(red: 0.878, green: 0.949, blue: 0.996),
Color(red: 0.729, green: 0.902, blue: 0.992)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(frostedGlassGradient)val frostedGlassColors = listOf(Color(0xFFF0F9FF), Color(0xFFE0F2FE), Color(0xFFBAE6FD))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = frostedGlassColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/frosted-glass_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#F0F9FF"
android:centerColor="#E0F2FE"
android:endColor="#BAE6FD"
android:type="linear" />
</shape>const frostedGlassGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFF0F9FF), Color(0xFFE0F2FE), Color(0xFFBAE6FD)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: frostedGlassGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#F0F9FF', '#E0F2FE', '#BAE6FD']}
start={{ x: 0, y: 0 }}
end={{ x: 1, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="frosted-glass" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#F0F9FF" />
<stop offset="50%" stop-color="#E0F2FE" />
<stop offset="100%" stop-color="#BAE6FD" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#frosted-glass)" />
</svg>:root {
--frosted-glass-1: #F0F9FF;
--frosted-glass-2: #E0F2FE;
--frosted-glass-3: #BAE6FD;
--frosted-glass-angle: 135deg;
--frosted-glass: linear-gradient(var(--frosted-glass-angle), var(--frosted-glass-1), var(--frosted-glass-2), var(--frosted-glass-3));
}
.hero {
background: var(--frosted-glass);
}$frosted-glass-1: #F0F9FF;
$frosted-glass-2: #E0F2FE;
$frosted-glass-3: #BAE6FD;
$frosted-glass: linear-gradient(135deg, $frosted-glass-1, $frosted-glass-2, $frosted-glass-3);
@mixin frosted-glass-bg {
background: $frosted-glass-1;
background: $frosted-glass;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Off-white | #F0F9FF | rgb(240, 249, 255) | hsl(204, 100%, 97%) |
| 2 | Off-white | #E0F2FE | rgb(224, 242, 254) | hsl(204, 94%, 94%) |
| 3 | Pale blue | #BAE6FD | rgb(186, 230, 253) | hsl(201, 94%, 86%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Frosted Glass gradient uses 3 colours: #F0F9FF, #E0F2FE and #BAE6FD, at an angle of 135°.
Paste background: linear-gradient(135deg, #F0F9FF, #E0F2FE, #BAE6FD); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 17.9:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.