name_colors

Pack: color-pizza · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/name_colors for the schema, then POST the same URL with its arguments for the data.

Find the nearest human-friendly color name for one or more hex colors. Pass hex codes (with or without leading #), comma-separated for several at once. Returns the closest named color for each input, with its canonical hex, RGB, and perceptual distance. Optionally pick a naming list (e.g. “wikipedia”, “ntc”, “x11”, “html”, “japaneseTraditional”, “leCorbusier”, “bestOf”); defaults to “default”. Use list_palettes to see all available lists.

Parameters

NameTypeRequiredDescription
hexstringyesOne or more hex colors, comma-separated. With or without #. e.g. “ff0000” or “#ff0000,#00ff00”.
liststringnoColor-name list to use. Default “default”. Other options: wikipedia, ntc, x11, html, japaneseTraditional, leCorbusier, bestOf, etc.

Example call

Arguments

{
  "hex": "ff0000"
}

curl

curl -X POST https://gateway.pipeworx.io/color-pizza/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"name_colors","arguments":{"hex":"ff0000"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('name_colors', {
  "hex": "ff0000"
});

More examples

{
  "hex": "#ff0000,#00ff00,#0000ff",
  "list": "wikipedia"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the color-pizza pack
{
  "mcpServers": {
    "color-pizza": {
      "url": "https://gateway.pipeworx.io/color-pizza/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 21, 2026