# color-palette [Health: Active]

**Category:** ☁️ Cloud Platforms  
**Repository:** https://github.com/lazymac2x/color-palette-api  
**GitHub Stars:** 0  
**npm Downloads (last month):** 28  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/color-palette

## Description
Cloudflare Workers MCP server: color-palette

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

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

## Documentation

## What color-palette MCP server does

The color-palette MCP server exposes a color utility API for design and frontend tasks. It accepts hexadecimal colors and returns converted representations such as HEX, RGB, and HSL. It can also generate common color relationships, interpolate gradients, calculate contrast ratios, and evaluate WCAG-style accessibility results.

The API supports complementary, analogous, triadic, split, tetradic, and monochromatic harmonies. Random palette generation is available when an agent needs a starting set of colors. For implementation work, the service can turn a list of colors into CSS variables or a Tailwind configuration.

## How it works

Requests use HTTP endpoints under the local `/api/v1` path. Color operations generally place the color values in the URL, while CSS and Tailwind generation use POST requests with JSON bodies. Optional query parameters control output size for supported operations, including the number of monochromatic colors, gradient steps, or random palette entries.

A conversion request returns structured color data. Harmony requests return colors derived from a base value. Gradient requests provide both a color array and a CSS gradient string. Contrast requests return a ratio and boolean results for normal and large text at AA and AAA levels. The implementation is described as having zero external dependencies.

## Setup and configuration

Clone or obtain the project, install its npm dependencies, and start the local service:

```bash
npm install
npm start
```

The documented address is `http://localhost:4000`. It also does not document client-specific MCP setup instructions, so connection details may depend on the deployment or wrapper used around the API.

## Tools and capabilities

The color-palette MCP server supports these operations:

- Convert hexadecimal colors to HEX, RGB, and HSL values.
- Generate complementary, analogous, triadic, split, tetradic, and monochromatic harmonies.
- Create stepped gradients between two colors and return CSS gradient output.
- Compare foreground and background colors using contrast ratios and AA or AAA checks.
- Produce random palettes with a requested color count.
- Generate CSS custom properties from named color collections.
- Generate Tailwind color configuration from named color collections.

CSS and Tailwind generation accept arrays of colors and a name in the JSON request body. The documented examples use names such as `brand` and `amber` for the generated output.

## Limitations and notes

The current listing identifies the project as a Cloudflare Workers MCP server, while the README's quick start describes a local service on port 4000; verify the intended deployment path before configuring an agent.

The documented inputs are hexadecimal colors. No claims are provided about named-color parsing, image extraction, color-space support beyond the returned RGB and HSL representations, or persistence of generated palettes. The project is licensed under MIT.

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

