# Color [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/pipeworx-io/mcp-color  
**GitHub Stars:** 0  
**npm Downloads (last month):** 60  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/color

## Description
Color utilities MCP.

## Tools
Capabilities this server exposes over MCP:

- **color_convert** — Convert a color (HEX, rgb(), hsl(), or a CSS name) to all formats: HEX, RGB and HSL. Keyless, offline.
- **color_contrast** — Compute the WCAG 2.1 contrast ratio between two colors and whether it passes AA/AAA for normal and large text. Keyless, offline.
- **nearest_color** — Find the nearest CSS named color to a given color (Euclidean RGB distance). Keyless, offline.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "color": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-color"]
  }
}
```

## Documentation

## What the Color MCP server does

The Color MCP server gives MCP-compatible agents three local color utilities. It accepts HEX values, `rgb()` strings, `hsl()` strings, and CSS color names for conversion. It can return equivalent HEX, RGB, and HSL representations, evaluate text contrast using WCAG 2.1 thresholds, and identify the closest CSS named color.

All three tools are keyless and offline when used through the standalone package. They do not require an account, external service credentials, or a network request to calculate results. This makes the server suitable for agents that need repeatable color transformations or accessibility checks inside design, frontend, and documentation workflows.

## How it works

The server communicates through MCP and exposes these operations as callable tools:

- `color_convert` parses a supported color input and returns HEX, RGB, and HSL forms.
- `color_contrast` compares two colors, calculates their WCAG 2.1 contrast ratio, and reports AA and AAA results for normal and large text.
- `nearest_color` compares a color against CSS named colors using Euclidean RGB distance and returns the nearest match.

The standalone process communicates over standard input and output. The hosted Pipeworx endpoint uses the same underlying color tools but also lists shared gateway tools, including routing and discovery functions. The endpoint's `initialize` response is the authoritative source for the tools available in a particular connection.

## Setup and configuration

For a local Color MCP server, configure an MCP client to run the package with `npx`:

```json
{
  "mcpServers": {
    "color": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-color"]
    }
  }
}
```

Running `npx -y @pipeworx/mcp-color` directly can confirm that the process starts. The local package requires no Pipeworx account and exposes only the three color tools.

A client can instead connect to `https://gateway.pipeworx.io/color/mcp`. The full gateway is available at `https://gateway.pipeworx.io/mcp` when an agent needs every pack listed directly. Both gateway URLs can reach Pipeworx routing through `ask_pipeworx`, but the pack endpoint lists the Color tools directly alongside shared meta-tools.

## Tools and capabilities

Use `color_convert` when an agent needs to normalize a color across common web formats. Use `color_contrast` for readable text and background combinations, with separate results for normal and large text under AA and AAA criteria. Use `nearest_color` when a workflow needs a human-readable CSS color name rather than only a numeric value.

The Color MCP server can also be called over HTTP through the gateway's tool endpoint. For example, a client can POST a JSON body containing `{"color":"#3498db"}` to the `color_convert` tool endpoint. Tool details can be inspected through the gateway's tool inspection endpoint.

## Limitations and notes

The standalone server supports only the three color utilities described above. It does not provide Pipeworx's shared discovery, memory, or cross-catalog routing tools. Those are added by gateway connections, where the visible tool count is larger than the Color pack's own tool count.

The documented nearest-color calculation uses Euclidean distance in RGB space, so its result is a mathematical proximity match rather than a perceptual color comparison.

_Full upstream README: https://allmcps.com/mcp/color/readme_

