Color logo

Color

Color tools for converting formats, generating palettes, checking WCAG contrast, mixing colors, and creating CSS gradients.

Install Color

Run the project’s own setup commands, in order.

Setup steps from the project

color installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install
    
  2. 2. Start the server
    npm run build
    

Overview

The color MCP server gives AI agents tools for color conversion, palette generation, WCAG contrast checks, color adjustments, and CSS gradient creation. It runs locally as a Node.js MCP process launched from the built dist/index.js file and accepts structured color and operation parameters. Reach for it when an agent needs design-system calculations or ready-to-use gradient CSS without implementing color logic itself.

Use cases

  • Convert design colors between HEX, RGB, HSL, HSV, and CMYK
  • Generate palettes from a base brand color
  • Check WCAG contrast compliance for interface colors
  • Adjust color lightness and saturation
  • Create CSS linear and radial gradients

Key features

  • Color conversion across five formats
  • Five palette generation types
  • WCAG AA and AAA contrast reporting
  • Color mixing and adjustment operations
  • CSS gradient generation with stops and directions

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 83d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit8mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Color works

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:

Terminal
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:

config.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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Color

color is an MCP server that connects AI agents to local color manipulation and design tools. Its main tools convert colors across HEX, RGB, HSL, HSV, and CMYK; generate palettes; check WCAG contrast; adjust colors; and create CSS gradients. It runs as a built Node.js process.

Install it by running `npm install`, then build it with `npm run build`. The compiled server is launched with Node using `dist/index.js`.

Configure Claude Desktop with a `node` command and the path to `dist/index.js`. Add the server under `mcpServers`, for example with the name `color-tools`, and replace `path/to/mcp-color-tools/dist/index.js` with the actual local path.

It supports HEX, RGB, HSL, HSV, and CMYK input for conversion. The conversion tool accepts any of these documented formats and returns all five representations.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewColor AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/color-2?style=directory)](https://allmcps.com/mcp/color-2)
HTML Embed
<a href="https://allmcps.com/mcp/color-2"><img src="https://allmcps.com/api/badge/color-2?style=directory" alt="Color on AllMCPs" /></a>