# color [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/rog0x/mcp-color-tools  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/color-2

## Description
Color convert, palette, contrast checker for AI agents

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/rog0x/mcp-color-tools), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
npm install
```

2. Start the server:

```sh
npm run build
```

## Documentation

## What the color MCP server does

The color MCP server provides structured tools for common color and design tasks. It accepts colors in formats such as HEX, RGB, HSL, HSV, and CMYK, then returns converted representations. It can also derive palettes from a base color, evaluate contrast against WCAG criteria, modify colors, and produce CSS gradient code.

The server is suited to agents working on interface styling, design tokens, accessibility checks, or CSS generation. It focuses on calculations and generated output rather than connecting to an external design platform or asset repository.

## How it works

The color MCP server exposes named MCP tools that receive JSON arguments. A conversion request supplies one color value. Palette generation adds a palette type, such as complementary, analogous, triadic, split-complementary, or monochromatic. Contrast checking receives two colors and reports compliance for normal text, large text, and UI components.

Color operations are selected with an operation value. Supported operations include mixing with weighted colors, blending with a ratio, and changing lightness or saturation. Gradient generation takes a linear or radial type, a list of colors or positioned stops, and a direction such as `135deg` or `circle at center`.

## Setup and configuration

Install dependencies and build the project with npm:

```bash
npm install
npm run build
```

Claude Desktop can launch the compiled server with a standard local process configuration. Point the `node` command at the built `dist/index.js` file:

```json
{
  "mcpServers": {
    "color-tools": {
      "command": "node",
      "args": ["path/to/mcp-color-tools/dist/index.js"]
    }
  }
}
```

Replace the example path with the location of the repository on the host running Claude Desktop. The provided setup does not specify environment variables or a remote service endpoint.

## Tools and capabilities

- `color_convert`: Converts an input color and returns HEX, RGB, HSL, HSV, and CMYK forms.
- `palette_generate`: Creates complementary, analogous, triadic, split-complementary, or monochromatic palettes from a base color.
- `contrast_check`: Compares two colors and reports WCAG AA/AAA results for text and UI component contexts.
- `color_mix`: Mixes or blends colors, or lightens, darkens, saturates, and desaturates them.
- `css_gradient`: Generates linear or radial CSS gradients from colors, stops, direction, and related settings.

## Limitations and notes

The documented setup is local and uses a compiled Node.js entry point. Inputs should follow the formats and operation parameters accepted by each tool. For accessibility decisions, use the reported WCAG results as the basis for checking the specific foreground, background, text size, and UI context in your product.

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

