# Color Convert

Convert colors across formats for seamless design-to-code workflows. Create lighter or darker variants, adjust saturation and hue, and generate palettes, schemes, and full swatch scales. Check contra…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add bennyzen/mcp-color-convert

# Browse available tools
npx -y @smithery/cli@latest tool list bennyzen/mcp-color-convert

# Get full schema for a tool
npx -y @smithery/cli@latest tool get bennyzen/mcp-color-convert convert

# Call a tool
npx -y @smithery/cli@latest tool call bennyzen/mcp-color-convert convert '{}'
```

## Tools (18)

- `convert` — Converts a color from one format to another. Supports all major color formats including hex, rgb, rgba, hsl, hsla, oklc…
- `lighten` — Increases the lightness of a color by a specified percentage amount. Perfect for creating lighter variations of colors …
- `darken` — Decreases the lightness of a color by a specified percentage amount. Ideal for creating darker variations for active st…
- `saturate` — Increases the saturation (intensity/vibrancy) of a color by a specified percentage amount. Use this to make colors more…
- `desaturate` — Decreases the saturation (intensity/vibrancy) of a color by a specified percentage amount. Perfect for creating muted t…
- `rotate` — Rotates the hue of a color by specified degrees around the color wheel. Perfect for creating color harmonies, analogous…
- `luminance` — Calculates the WCAG relative brightness of a color (0-1 scale, where 0 is pure black and 1 is pure white). Critical for…
- `chroma` — Calculates the chroma (color intensity/purity) of a color (0-1 scale, where 0 is grayscale and 1 is maximum intensity).…
- `opacity` — Extracts the opacity/alpha value from any color format (0-1 scale, where 0 is fully transparent and 1 is fully opaque).…
- `name` — Attempts to identify the common name of a color. Returns the color name if recognizable (e.g., 'red', 'blue', 'forestgr…
- `palette` — Generates a harmonious color palette from a base color. Creates 6 evenly spaced colors around the color wheel. Perfect …
- `scheme` — Generates specific color harmonies from a base color. Supports complementary, triadic, tetradic, and other classic colo…
- `swatch` — Creates a complete 11-shade swatch from a base color (50, 100, 200...950). This is the industry standard for design sys…
- `random` — Generates a random color in the specified format. Useful for testing, prototyping, or when you need inspiration for new…
- `contrast` — Calculates the WCAG contrast ratio between two colors (1-21 scale, where higher values mean better contrast). Essential…
- `compare` — Performs comprehensive WCAG accessibility analysis between two colors. Returns contrast ratio, compliance levels (AA/AA…
- `text_color` — Determines the best text color (black or white) for maximum readability on a given background color. Automatically calc…
- `is_valid_color` — Checks if a color string is valid and parseable. Supports hex, rgb, hsl, oklab, oklch formats, and named colors. Essent…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get bennyzen/mcp-color-convert <tool-name>
```

---

Source: https://github.com/bennyzen/mcp-color-convert
