Named gradient · WebGradients
Glass Water
Glass Water is a neutral gradient from WebGradients (MIT) — #dfe9f3 → #ffffff at 0°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.
Same stops, three spaces
The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.
Report
- white ink: worst 1.00:1 at 99% (fails AA); black ink: worst 17.09:1 at 0% (AA) → use black text.
- White text disappears completely at 99% (1.00:1 crossing).
- Banding high: ~45px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(0deg, #dfe9f3 0%, #e1ebf4 7.14%, #e4ecf5 14.29%, #e6eef6 21.43%, #e8eff6 28.57%, #eaf1f7 35.71%, #edf2f8 42.86%, #eff4f9 50%, #f1f6fa 57.14%, #f4f7fb 64.29%, #f6f9fc 71.43%, #f8fafc 78.57%, #fafcfd 85.71%, #fdfdfe 92.86%, #ffffff 100%);
background-image: linear-gradient(0deg in oklab, #dfe9f3 0%, #ffffff 100%);
}bg-linear-to-t/oklab from-[#dfe9f3] to-[#ffffff]
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="600" viewBox="0 0 1440 600"><defs><linearGradient id="bs-gradient" gradientUnits="userSpaceOnUse" x1="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#dfe9f3"/><stop offset="7.14%" stop-color="#e1ebf4"/><stop offset="14.29%" stop-color="#e4ecf5"/><stop offset="21.43%" stop-color="#e6eef6"/><stop offset="28.57%" stop-color="#e8eff6"/><stop offset="35.71%" stop-color="#eaf1f7"/><stop offset="42.86%" stop-color="#edf2f8"/><stop offset="50%" stop-color="#eff4f9"/><stop offset="57.14%" stop-color="#f1f6fa"/><stop offset="64.29%" stop-color="#f4f7fb"/><stop offset="71.43%" stop-color="#f6f9fc"/><stop offset="78.57%" stop-color="#f8fafc"/><stop offset="85.71%" stop-color="#fafcfd"/><stop offset="92.86%" stop-color="#fdfdfe"/><stop offset="100%" stop-color="#ffffff"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"glass-water": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.875,
0.914,
0.953
],
"hex": "#dfe9f3"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
1,
1,
1
],
"hex": "#ffffff"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(0deg in oklab, #dfe9f3 0%, #ffffff 100%)",
"interpolation": "oklab",
"angle": 0,
"name": "Glass Water",
"contrast": {
"white": {
"ratio": 1,
"at": 0.9921,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 17.087,
"at": 0,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Glass Water (WebGradients, MIT), rendered in OKLab."
}
}Tagged
More neutral gradients
Point any MCP client at the shared gradients endpoint and your agent gets the same engine as this page — make_gradient returns CSS with the interpolation space, Tailwind v4, SVG, a PNG URL, a DTCG token and the contrast report in one call; brand_gradients derives the whole contact sheet from a brand or a palette. Read-only, no key. Every gradient is a /gradients/new/… link: open it, refine, paste it back.
https://mcp.brandsweets.com/gradients/mcpclaude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
›take the Glass Water gradient (#dfe9f3, #ffffff), re-interpolate it in oklch, and tell me the worst-case contrast for white text
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md · From WebGradients (MIT) — licences