# RNVizion/rnv-color-mcp [Health: Active]

**Category:** 📐 Architecture & Design  
**Repository:** https://github.com/RNVizion/rnv-color-mcp  
**GitHub Stars:** 1  
**Views:** 6  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/rnvizion-rnv-color-mcp

## Description
A complete color workflow over MCP: mix (incl. Kubelka-Munk paint physics), convert formats, generate harmonies, and remember named palettes. Resolves hex, CSS, and custom brand color names, and refuses unknown colors rather than guessing. Hosted, no install: https://rnvizion-rnv-color-mcp.hf.space/mcp.

## Tools
Capabilities this server exposes over MCP:

- **mix_colors** — Blend up to 12 colors into one. Each color may be a hex (#d2bc93), a CSS name (red), an RNV brand name (brand gold, near-black), or a saved-palette reference (Spring line, or 'Spring line:2' for its 2nd swatch). Optional integer weights bias the blend (defaults to equal). mode selects the model: rgb/hsv/lab are digital blends (lab is perceptual and the default, best for on-screen color); paint mixes pigments via Kubelka-Munk physics (colors darken like real paint, use it for physical-media matching); ryb is the artist's color wheel; cmy is subtractive like printer inks. Returns hex and rgb. Reach for paint when BLENDING brand colors into a new one, and lab when SAMPLING between them: lab returns the point between its ingredients, which is right for finding a midpoint; paint models mixing them as pigments, which makes a different color. RNV's #00b0a0 was blended in paint; the same ingredients at the same weights in lab give #9cc1a5, 15.94 away and far closer to the brand gold it exists to be distinguishable from. paint and cmy work per RGB channel, so an ingredient with an empty channel (pure digital primaries such as #0000ff or #ffff00) dominates that channel: at equal weights yellow + css:blue comes out black in paint and near-black (#070707) in cmy, where ryb gives green. Weight shifts this in cmy and hardly in paint: white + css:blue at 10:1 is #8484ff in cmy and #0202fe in paint. For pigment-like results use pigment-like colors, or ryb for idealized primaries. Brand names win over CSS names on collision: 'blue' is RNV blue, css:blue is #0000ff. Read-only and deterministic: it computes a result and stores nothing, so it is safe to call repeatedly with no side effects. Use to combine multiple colors into a single blend; to convert one color between formats use convert_color, and to measure how far apart two colors are use color_difference.
- **convert_color** — Convert a color between formats. Input accepts a hex, CSS name, RNV brand name, or saved-palette reference. With `to` set to one of hex/rgb/hsv/hsl/lab, returns just that format; leave `to` out to get all of them. hsv and hsl are fractions from 0 to 1, hue included (multiply hue by 360 for degrees). Read-only and deterministic, with no side effects. Use for format conversion of a single color; to blend several colors into one use mix_colors, and to compare two colors use color_difference.
- **place_lightness** — Hold a color's hue and chroma and set its lightness, returning one result per requested L*. color accepts a hex, CSS name, RNV brand name, or saved-palette reference; lightness is a list of L* values in 0-100. This is the operation behind a LIGHT/DARK PAIR: one hue at two lightnesses, with a and b held exactly, which is how a color that works on a dark ground gets a partner that works on a light one. Use it when you need the same color at a different lightness; use mix_colors when you need a different color. Returns the source color's LAB, and for each placement the hex, the achieved LAB, and the quantization error per axis -- 8-bit hex cannot store a and b to the precision LAB expresses, so two placements of one hue differ by a few hundredths on both axes however exactly the input held them. That is the storage format, not the operation, and it is reported rather than hidden. Read-only and deterministic. Refuses rather than clamps: not every (L*, a, b) exists in sRGB, and a lightness too far from a chromatic color's range is rejected with the reason instead of being silently moved to the nearest color that fits.
- **generate_harmony** — Generate a color harmony from a base color. base accepts a hex, CSS name, RNV brand name, or saved-palette reference (e.g. 'Spring line:2'). scheme is one of: complementary, analogous, triadic, split-complementary, tetradic (a.k.a. square), monochromatic, compound. Returns a list of hex colors. Read-only and deterministic: it derives the colors from the base and stores nothing, so it has no side effects and is safe to call repeatedly. Use to expand one base color into a related set; to blend existing colors into a single color use mix_colors, and to persist a set you like use save_palette.
- **color_difference** — Perceptual difference (Delta-E) between two colors. color1 and color2 accept a hex, CSS name, RNV brand name, or saved-palette reference. method is 'ciede2000' (default, modern standard) or 'cie76'. A value near 1.0 is the threshold the eye can just notice; larger means more different. Returns the value and a plain-language interpretation. Read-only and deterministic, with no side effects. Use ciede2000 for accuracy and pick cie76 only to match a legacy system; to test whether text is legible on a background (not raw difference) use contrast_check instead.
- **contrast_check** — WCAG contrast ratio between a foreground and background color, for accessibility. Both accept a hex, CSS name, RNV brand name, or saved-palette reference. Returns the ratio (1.0-21.0) plus pass/fail for AA and AAA at normal and large text sizes and for UI components. Read-only and deterministic, with no side effects. Use this for legibility and accessibility checks; to measure raw perceptual difference between two colors rather than readability use color_difference instead.
- **transform_text** — Apply an exact, deterministic text transformation. operation is one of: UPPERCASE, lowercase, 'Title Case', 'Sentence case', camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case, 'iNVERTED cASE'. Read-only and deterministic: it returns the transformed string and changes nothing, safe to call repeatedly. Use whenever exact, reproducible case formatting matters rather than rewriting the text by hand or guessing the casing.
- **save_palette** — Persist a named color palette for later retrieval with get_palette or list_palettes. Each entry in colors accepts what every other tool accepts: a hex (#d2bc93), a CSS name (red), an RNV brand name (brand gold), or a saved-palette reference ('Spring line:2'); each is resolved and stored as normalized hex, and an unknown token refuses the whole save naming its position. Optional notes are stored as the palette's description. Author is recorded as RNVizion. The name is refused, with the reason, if it is an RNV brand name, a CSS color name, a 'css:' form, a hex literal, or contains ':' -- a palette resolves ahead of brand and CSS names, so such a name would redefine a color for every caller. This WRITES to the palette store and is the only tool here that does. Reusing an existing name overwrites that palette: save and update are the same call (an upsert), there is no separate update operation. Returns a `durable` flag: true if the palette reached durable storage (the HF Dataset) and will survive a restart, false if it saved to the local working copy only (which is lost on rebuild), with `durable_reason` naming the step that stopped it. Use when the user wants to keep a set of colors under a name for reuse across sessions, such as a brand or launch palette; to read a palette back use get_palette, and to see what already exists use list_palettes. The saved name can then be passed to mix_colors, convert_color, and generate_harmony as a palette reference.
- **list_palettes** — List every saved palette as name + colors. Read-only; no side effects. Use to discover what palettes exist or to find a name before calling get_palette; to fetch one palette's full detail use get_palette, and to create or overwrite one use save_palette.
- **get_palette** — Retrieve one saved palette by name, returning its colors and metadata. Returns null if no palette by that name exists. Read-only; no side effects. Use when you already know the palette name; to list available names first use list_palettes, and to create or update a palette use save_palette.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "rnv-color-mcp": {
    "url": "https://rnvizion-rnv-color-mcp.hf.space/mcp"
  }
}
```

## Documentation

## What RNVizion/rnv-color-mcp MCP server does

RNVizion/rnv-color-mcp MCP server exposes a color-processing workflow through MCP over Streamable HTTP. It handles digital and subtractive color operations, generates common harmony schemes, compares perceptual differences, checks accessible contrast, and stores named palettes for later retrieval. It also includes exact text case transformations as a separate utility.

Color inputs can be hexadecimal values, CSS color names, RNV brand names, or references to stored palettes. Palette references may identify the whole palette or a specific swatch, such as the second item in a named palette. Brand names take precedence when they collide with CSS names, while a `css:` prefix selects the CSS interpretation. Unrecognized names are rejected rather than approximated.

## How it works

The hosted deployment is available at `https://rnvizion-rnv-color-mcp.hf.space/mcp`. An MCP client connects to that URL and sends natural-language requests that the model maps to server tools. The public deployment has authentication disabled, so no token or credential is needed for the connection.

Mixing supports up to 12 colors. Available modes include RGB, HSV, LAB, CMY, RYB, and paint mixing based on Kubelka-Munk pigment calculations. Format conversion covers hex, RGB, HSV, HSL, and LAB. Harmony generation supports complementary, analogous, triadic, split-complementary, tetradic or square, monochromatic, and compound schemes.

The server separates read-only operations from palette mutation when optional authentication is enabled. The `read` scope covers eight read-only tools, while `write` is required for `save_palette`. Tools outside a token's scope are hidden from the tool list.

## Tools and capabilities

RNVizion/rnv-color-mcp MCP server includes these capabilities:

- `mix_colors` for multi-color blending in six supported modes.
- `convert_color` for conversions among five color representations.
- `generate_harmony` for seven harmony patterns.
- `color_difference` using CIEDE2000 or CIE76 Delta-E calculations.
- `contrast_check` for WCAG ratios and AA or AAA results.
- `transform_text` for 11 exact case transformations.
- `save_palette`, `list_palettes`, and `get_palette` for named palette storage and retrieval.

## Setup and configuration

The hosted endpoint can be added as a custom connector in Claude by opening Settings, choosing Connectors, selecting Add custom connector, and entering the MCP URL.

For durable palette storage in a self-hosted deployment, configure `HF_TOKEN` and a writable Hugging Face Dataset. Without that setup, saved palettes remain in process memory and disappear when the container restarts.

Optional authentication is enabled with `RNV_AUTH=1`, `true`, `yes`, or `on`. An enabled deployment must provide either `RNV_AUTH_JWKS_URI` or `RNV_AUTH_PUBLIC_KEY`, along with the expected issuer and audience settings. `RNV_AUTH_BASE_URL` supplies the server base URL without `/mcp`.

## Limitations and notes

The canonical service is hosted and may differ from independently rebuilt copies. Self-hosted deployments need appropriate outbound network access for capabilities that fetch data. The color engine is dependency-free, but the server layer uses FastMCP.

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

