Named gradient · WebGradients

Slick Carbon

Slick Carbon is a neutral gradient from WebGradients (MIT) — #323232 → #3f3f3f → #1c1c1c at 180°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.

Aa — the quick brown fox
white text · worst 10.53:1 · AA
white 10.53 AAblack 1.23 failsbanding high

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.

sRGB100%
OKLab100%
OKLCH100%

Report

  • white ink: worst 10.53:1 at 40% (AA); black ink: worst 1.23:1 at 100% (fails AA) → use white text.
  • Banding high: ~44px bands at 1440px — add grain 50 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(180deg, #323232 0%, #333333 2.86%, #343434 5.71%, #353535 8.57%, #363636 11.43%, #373737 14.29%, #383838 17.14%, #383838 20%, #393939 22.86%, #3a3a3a 25.71%, #3b3b3b 28.57%, #3c3c3c 31.43%, #3d3d3d 34.29%, #3e3e3e 37.14%, #3f3f3f 40%, #3c3c3c 44.29%, #3a3a3a 48.57%, #373737 52.86%, #353535 57.14%, #323232 61.43%, #2f2f2f 65.71%, #2d2d2d 70%, #2a2a2a 74.29%, #282828 78.57%, #262626 82.86%, #232323 87.14%, #212121 91.43%, #1e1e1e 95.71%, #1c1c1c 100%);
  background-image: linear-gradient(180deg in oklab, #323232 0%, #3f3f3f 40%, #1c1c1c 100%);
}
tailwind v4
bg-linear-to-b/oklab from-[#323232] via-[#3f3f3f] via-40% to-[#1c1c1c]
svg
<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="0" x2="720" y2="600"><stop offset="0%" stop-color="#323232"/><stop offset="2.86%" stop-color="#333333"/><stop offset="5.71%" stop-color="#343434"/><stop offset="8.57%" stop-color="#353535"/><stop offset="11.43%" stop-color="#363636"/><stop offset="14.29%" stop-color="#373737"/><stop offset="17.14%" stop-color="#383838"/><stop offset="20%" stop-color="#383838"/><stop offset="22.86%" stop-color="#393939"/><stop offset="25.71%" stop-color="#3a3a3a"/><stop offset="28.57%" stop-color="#3b3b3b"/><stop offset="31.43%" stop-color="#3c3c3c"/><stop offset="34.29%" stop-color="#3d3d3d"/><stop offset="37.14%" stop-color="#3e3e3e"/><stop offset="40%" stop-color="#3f3f3f"/><stop offset="44.29%" stop-color="#3c3c3c"/><stop offset="48.57%" stop-color="#3a3a3a"/><stop offset="52.86%" stop-color="#373737"/><stop offset="57.14%" stop-color="#353535"/><stop offset="61.43%" stop-color="#323232"/><stop offset="65.71%" stop-color="#2f2f2f"/><stop offset="70%" stop-color="#2d2d2d"/><stop offset="74.29%" stop-color="#2a2a2a"/><stop offset="78.57%" stop-color="#282828"/><stop offset="82.86%" stop-color="#262626"/><stop offset="87.14%" stop-color="#232323"/><stop offset="91.43%" stop-color="#212121"/><stop offset="95.71%" stop-color="#1e1e1e"/><stop offset="100%" stop-color="#1c1c1c"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "slick-carbon": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.196,
            0.196,
            0.196
          ],
          "hex": "#323232"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.247,
            0.247,
            0.247
          ],
          "hex": "#3f3f3f"
        },
        "position": 0.4
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.11,
            0.11,
            0.11
          ],
          "hex": "#1c1c1c"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(180deg in oklab, #323232 0%, #3f3f3f 40%, #1c1c1c 100%)",
        "interpolation": "oklab",
        "angle": 180,
        "name": "Slick Carbon",
        "contrast": {
          "white": {
            "ratio": 10.531,
            "at": 0.3968,
            "passesAA": true,
            "passesAALarge": true
          },
          "black": {
            "ratio": 1.232,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Slick Carbon (WebGradients, MIT), rendered in OKLab."
  }
}

Tagged

More neutral gradients

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

take the Slick Carbon gradient (#323232, #3f3f3f, #1c1c1c), 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