coolors-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Advanced perceptual color theory & UI design server. Compensates for agent hex blindness: use describe_color to 'see' any hex/CSS color, fix_contrast to solve WCAG/APCA contrast without guessing, design_ui_palette for verified 60-30-10 Light/Dark UI tokens, audit_ui_colors for one-shot pair & CVD checks, and generate_categorical_palette for color-blind-safe chart/tag palettes. Supports hex, CSS named colors, rgb(), hsl(), oklch(), oklab(), and hct().
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| describe_colorA | Describe what one or more colors actually look like in human perceptual terms (name, warm/cool temperature, lightness & vividness tier, OKLCH/HCT/HSL/RGB values, readable text recommendation, UI role suggestions, and visual pitfalls like bile-zone or halation). Use this whenever you cannot 'see' a hex code. |
| fix_contrastA | Automatically find the perceptually closest color that meets a WCAG 2.x or APCA contrast target while preserving hue in HCT space. Eliminates trial-and-error guessing. |
| design_ui_paletteA | Design a complete, contrast-verified Light + Dark UI color system from a single brand color following the 60-30-10 rule (60% surfaces/neutrals/text hierarchy, 30% secondary & subtle containers, 10% primary CTA & interactive states + harmonized status colors). Prevents dark-mode neon halation and guarantees WCAG AA/AAA text pairs. |
| audit_ui_colorsA | Audit an entire UI's foreground/background pairs and optional palette swatches in one call. Checks WCAG 2.x, APCA Lc, color-blindness contrast collapses, simultaneous-contrast vibration, and universally disliked colors — and provides exact hue-preserving fixes for every failing pair. |
| generate_categorical_paletteA | Generate N perceptually balanced, color-blind-safe categorical colors for charts, badges, tags, or avatars. Optimizes minimum ΔE2000 across normal vision AND protanopia/deuteranopia/tritanopia so no category vanishes or collides. |
| convert_colorB | Convert colors between formats (hex, rgb, hsl, lab, hct, oklab, oklch). Accepts hex, CSS named colors, rgb(), hsl(), oklch(), oklab(), or hct(). |
| color_distanceB | Calculate perceptual distance between two colors using Delta E 2000 |
| check_contrastA | Check contrast between two colors using WCAG 2.x luminance ratio, APCA Lc (WCAG 3 draft), or both. Also checks color-blindness contrast drops and suggests an exact hue-preserving fix if contrast fails. |
| adjust_colorA | Adjust a color using perceptual (oklch, hct) or classic (hsl) math: lighten, darken, saturate, desaturate, hue-shift, tint (mix with white), shade (mix with black), grayscale, invert, or mix with a second color. Perceptual space ('oklch' default) prevents muddy mixes and hue drift. |
| generate_paletteA | Generate a color palette using color theory harmonies (monochromatic, analogous, complementary, split-complementary, triadic, tetradic, square, compound, shades-and-tints). Defaults to perceptual HCT space, avoids universally disliked colors, and describes each swatch so agents can see what was generated. |
| generate_palette_with_locksA | Generate a color palette while preserving specific locked colors. Uses deterministic perceptual search in OKLCH/HCT/LAB/HSL and avoids universally disliked colors. |
| generate_gradientC | Generate a smooth gradient between colors with multiple interpolation methods (oklch, oklab, lab, lch, hct, hsl, rgb) |
| export_paletteA | Export a list of colors as CSS custom properties, SCSS variables, a Tailwind config snippet, W3C design tokens, JSON, or a DESIGN.md |
| simulate_color_blindnessA | Simulate how one or more colors appear to viewers with color vision deficiency (protanopia, deuteranopia, tritanopia, their milder anomaly forms, or achromatopsia). |
| check_palette_accessibilityA | Audit a color palette for color-blind accessibility. For each pair of colors, reports the perceptual distance (Delta E 2000) under each CVD type and flags pairs that become indistinguishable. |
| generate_tonal_scaleA | Generate a complete tonal scale (Tailwind-style 50/100/.../900/950) from a seed color. Uses Google's HCT color space so each step is perceptually even — ideal for building shadable design-system colors. |
| generate_state_colorsA | Generate consistent interaction-state colors (hover / active / pressed / focus / disabled / selected) from a base color. Steps are computed in HCT space so they keep equal perceptual weight regardless of base hue. |
| analyze_palette_consistencyA | Score how visually cohesive a palette is. Reports tonal step uniformity, chroma spread, hue distribution, and a single 0-100 cohesion score, plus targeted suggestions for tightening it up. |
| generate_semantic_paletteA | From a single brand color, generate a complete visually-cohesive semantic palette: primary, secondary, tertiary, plus success/warning/error/info status colors. Tone and chroma are normalized in HCT space so every color feels like part of the same family. |
| generate_material_themeB | Generate a complete Material Design 3 color theme from a source color |
| harmonize_colorsC | Harmonize colors to work better together using Material Design algorithms |
| generate_tonal_paletteC | Generate a Material Design tonal palette from a color |
| match_theme_colorC | Find the closest matching theme variable for a given color |
| refactor_css_with_themeB | Refactor CSS to use theme variables instead of hardcoded colors |
| match_theme_colors_batchC | Find theme matches for multiple colors at once |
| generate_theme_cssB | Generate CSS custom properties for a complete theme from a source color |
| extract_image_colorsB | Extract dominant colors from an image. Input should be image data as an array of RGBA values. |
| generate_theme_from_imageA | Generate a complete Material Design 3 theme from an image |
| audit_design_mdA | Audit the color tokens of a DESIGN.md file (Google Labs design-system format: YAML front matter / ```yaml blocks with |
| analyze_color_likabilityA | Check if a color is universally disliked (dark yellow-green associated with biological waste) and get a fixed version if needed |
| fix_disliked_colors_batchB | Analyze and fix multiple colors, returning only liked versions |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 31 tools
The tools cluster into recognizable families (generate, audit/check, fix, export, theme-matching), but within families the boundaries blur badly: generate_palette, generate_palette_with_locks, generate_semantic_palette, design_ui_palette and generate_tonal_palette all take a brand color and return a palette, so an agent must read every description to pick correctly. Similarly check_contrast vs fix_contrast vs audit_ui_colors, and analyze_color_likability vs fix_disliked_colors_batch, overlap enough to invite misselection. Descriptions do carry useful differentiators, which keeps this above a 2.
Every name is snake_case verb_noun following a small set of predictable verbs (generate_, check_, audit_, fix_, analyze_, match_, convert_, extract_, export_, simulate_, describe_, adjust_). No mixing of camelCase or case styles, and the verb prefix reliably signals the operation class.
At 31 tools the surface exceeds the 25+ 'heavy' threshold, and several are near-duplicates rather than earned additions (two palette-with-locks variants, two disliked-color tools, batch and single versions of the same operation). The domain is broad, but the count is inflated by near-redundant variants that could be merged behind parameters.
Coverage is strong for a stateless color/design-system server: generation, conversion, perceptual distance, contrast (WCAG + APCA), CVD simulation, exporting to CSS/SCSS/Tailwind/tokens/DESIGN.md, image extraction, and full Material theme generation. Minor gaps exist, such as no plain near-duplicate palette diffing utility or a generic 'audit any color list' beyond check_palette_accessibility, but agents can work around them by composing existing tools.