Named gradient · uiGradients
Twitter is a blue gradient from uiGradients (MIT) — #1da1f2 → #009ffc at 90°. 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 2.82:1 at 25% (fails AA); black ink: worst 7.35:1 at 84% (AA) → use black text.
- Banding high: ~50px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #1da1f2 0%, #1ca1f3 7.14%, #1aa1f3 14.29%, #19a1f4 21.43%, #17a0f5 28.57%, #16a0f6 35.71%, #14a0f6 42.86%, #12a0f7 50%, #10a0f8 57.14%, #0ea0f8 64.29%, #0ba0f9 71.43%, #089ffa 78.57%, #069ffb 85.71%, #039ffb 92.86%, #009ffc 100%);
background-image: linear-gradient(90deg in oklab, #1da1f2 0%, #009ffc 100%);
}bg-linear-to-r/oklab from-[#1da1f2] to-[#009ffc]
<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="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#1da1f2"/><stop offset="7.14%" stop-color="#1ca1f3"/><stop offset="14.29%" stop-color="#1aa1f3"/><stop offset="21.43%" stop-color="#19a1f4"/><stop offset="28.57%" stop-color="#17a0f5"/><stop offset="35.71%" stop-color="#16a0f6"/><stop offset="42.86%" stop-color="#14a0f6"/><stop offset="50%" stop-color="#12a0f7"/><stop offset="57.14%" stop-color="#10a0f8"/><stop offset="64.29%" stop-color="#0ea0f8"/><stop offset="71.43%" stop-color="#0ba0f9"/><stop offset="78.57%" stop-color="#089ffa"/><stop offset="85.71%" stop-color="#069ffb"/><stop offset="92.86%" stop-color="#039ffb"/><stop offset="100%" stop-color="#009ffc"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"twitter": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.114,
0.631,
0.949
],
"hex": "#1da1f2"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0,
0.624,
0.988
],
"hex": "#009ffc"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #1da1f2 0%, #009ffc 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Twitter",
"contrast": {
"white": {
"ratio": 2.817,
"at": 0.254,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 7.347,
"at": 0.8413,
"passesAA": true,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Twitter (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More blue 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 Twitter gradient (#1da1f2, #009ffc), 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 uiGradients (MIT) — licences