#E4E5E8
#C0C5D0
#9099AC
Cotton Fog is a neutral 3-colour linear gradient that runs from light grey (#E4E5E8) through light grey (#C0C5D0) to grey (#9099AC) at 135°. It suits subtle surfaces and app backgrounds. Black text reads best on it, at a contrast ratio of 11.6:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(135deg, #E4E5E8, #C0C5D0, #9099AC);
bg-gradient-to-br from-[#E4E5E8] via-[#C0C5D0] to-[#9099AC]
{
"cotton-fog": {
"value": "linear-gradient(135deg, #E4E5E8 0%, #C0C5D0 50%, #9099AC 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let cottonFogGradient = LinearGradient(
colors: [
Color(red: 0.894, green: 0.898, blue: 0.91),
Color(red: 0.753, green: 0.773, blue: 0.816),
Color(red: 0.565, green: 0.6, blue: 0.675)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(cottonFogGradient)val cottonFogColors = listOf(Color(0xFFE4E5E8), Color(0xFFC0C5D0), Color(0xFF9099AC))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = cottonFogColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/cotton-fog_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#E4E5E8"
android:centerColor="#C0C5D0"
android:endColor="#9099AC"
android:type="linear" />
</shape>const cottonFogGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFE4E5E8), Color(0xFFC0C5D0), Color(0xFF9099AC)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: cottonFogGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#E4E5E8', '#C0C5D0', '#9099AC']}
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="cotton-fog" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#E4E5E8" />
<stop offset="50%" stop-color="#C0C5D0" />
<stop offset="100%" stop-color="#9099AC" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#cotton-fog)" />
</svg>:root {
--cotton-fog-1: #E4E5E8;
--cotton-fog-2: #C0C5D0;
--cotton-fog-3: #9099AC;
--cotton-fog-angle: 135deg;
--cotton-fog: linear-gradient(var(--cotton-fog-angle), var(--cotton-fog-1), var(--cotton-fog-2), var(--cotton-fog-3));
}
.hero {
background: var(--cotton-fog);
}$cotton-fog-1: #E4E5E8;
$cotton-fog-2: #C0C5D0;
$cotton-fog-3: #9099AC;
$cotton-fog: linear-gradient(135deg, $cotton-fog-1, $cotton-fog-2, $cotton-fog-3);
@mixin cotton-fog-bg {
background: $cotton-fog-1;
background: $cotton-fog;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light grey | #E4E5E8 | rgb(228, 229, 232) | hsl(225, 8%, 90%) |
| 2 | Light grey | #C0C5D0 | rgb(192, 197, 208) | hsl(221, 15%, 78%) |
| 3 | Grey | #9099AC | rgb(144, 153, 172) | hsl(221, 14%, 62%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Cotton Fog gradient uses 3 colours: #E4E5E8, #C0C5D0 and #9099AC, at an angle of 135°.
Paste background: linear-gradient(135deg, #E4E5E8, #C0C5D0, #9099AC); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 11.6:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.