Gradient maker

deg
Export
Aa — the quick brown fox
white text · worst 1.37:1 · fails AA
white 1.37 black 1.23 banding high · 172.8px
8 stops · click the track to add · drag to move · select to edit

Same stops, three spaces

Click a bar to interpolate there. The number is how much chroma survives at the dullest point.

Grey/white endpoints carry the other stop's hue (powerless hue), so green→white stays green.

Contrast along the line

WCAG ratio for white and black ink at every point. Shaded = below 4.5:1 for white ink. The marker is the exact worst point.

worst white 1.37:1 at 19% · fails
Nudges the stop nearest 19% in lightness (hue kept). Or a scrim rgb(0 0 0 / .35) under the text takes it from 1.37:1 to 3.23:1.

Easing

Stops are not evenly spaced. x = stop position, y = mix amount. Baked into 12–16 stops, or one colour-hint when that is within 0.02.

cubic-bezier(0, 0, 1, 1)
plain · 8 stops · 102 B

Derive from a palette or brand

Paste hexes (primary first) or a public brand slug. Every type is a pure function of the palette — the same contact sheet an agent gets from brand_gradients.

SpacerandomiseClick trackadd stopDragmove stopremove stop←/→nudge · undo/redo

Export

CSS with the interpolation space, Tailwind v4, SVG with correct geometry, a DTCG token, and the PNG.

Apply this to a brand → sign in

.gradient {
  background-image: linear-gradient(0deg, #dbdcd7 0%, #dbdcd7 1.71%, #dbdcd7 3.43%, #dbdcd7 5.14%, #dcdcd7 6.86%, #dcdcd7 8.57%, #dcdcd7 10.29%, #dcdcd7 12%, #dcdcd7 13.71%, #dcdcd7 15.43%, #dcdcd7 17.14%, #dddcd7 18.86%, #dddcd7 20.57%, #dddcd7 22.29%, #dddcd7 24%, #dddbd6 24.43%, #ded9d5 24.86%, #ded8d5 25.29%, #dfd7d4 25.71%, #dfd5d3 26.14%, #dfd4d2 26.57%, #e0d3d1 27%, #e0d1d1 27.43%, #e0d0d0 27.86%, #e1cecf 28.29%, #e1cdce 28.71%, #e1ccce 29.14%, #e2cacd 29.57%, #e2c9cc 30%, #e3c2c6 31.14%, #e5bbc0 32.29%, #e6b4bb 33.43%, #e7adb5 34.57%, #e7a6af 35.71%, #e89fa9 36.86%, #e898a4 38%, #e9919e 39.14%, #e98999 40.29%, #e98293 41.43%, #e87a8d 42.57%, #e87388 43.71%, #e86a82 44.86%, #e7627d 46%, #e45e7a 46.93%, #e05a78 47.86%, #dd5675 48.79%, #da5273 49.71%, #d64e70 50.64%, #d3496e 51.57%, #d0456b 52.5%, #cc4169 53.43%, #c93c66 54.36%, #c53864 55.29%, #c23361 56.21%, #bf2e5f 57.14%, #bb295c 58.07%, #b8235a 59%, #b4225a 59.86%, #b0215a 60.71%, #ac205a 61.57%, #a81f5a 62.43%, #a41e59 63.29%, #a01d59 64.14%, #9b1c59 65%, #971b59 65.86%, #941959 66.71%, #901858 67.57%, #8c1758 68.43%, #881658 69.29%, #841457 70.14%, #801357 71%, #7b1454 71.93%, #761552 72.86%, #71164f 73.79%, #6c164d 74.71%, #67174b 75.64%, #621748 76.57%, #5e1746 77.5%, #591743 78.43%, #541741 79.36%, #4f173e 80.29%, #4b173c 81.21%, #46173a 82.14%, #421637 83.07%, #3d1635 84%, #3b1734 85.14%, #381733 86.29%, #361832 87.43%, #341831 88.57%, #321830 89.71%, #2f192f 90.86%, #2d192e 92%, #2b192d 93.14%, #28192c 94.29%, #261a2b 95.43%, #241a2a 96.57%, #211a29 97.71%, #1f1a28 98.86%, #1c1a27 100%);
  background-image: linear-gradient(0deg in oklab, #dbdcd7 0%, #dddcd7 24%, #e2c9cc 30%, #e7627d 46%, #b8235a 59%, #801357 71%, #3d1635 84%, #1c1a27 100%);
}
mcpConnect your agent to the gradient engine
live endpoint

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.

endpointhttps://mcp.brandsweets.com/gradients/mcp
claude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
try this prompt

derive a hero gradient from #635bff and #00d4ff that passes AA for white text

this gradient as a URL

https://brandsweets.com/gradients/new/v1.dbdcd7_0-dddcd7_24-e2c9cc_30-e7627d_46-b8235a_59-801357_71-3d1635_84-1c1a27_100?a=0

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.