Color Palette

io.github.lazymac2xPublished by GitHub account lazymac2xv1.0.0Updated Oct 24, 2026

Cloudflare Workers MCP server: color-palette

VerifiedStreamable HTTPWeb executableDeveloper ToolsMedia & Design

Overview

AI-generated overview

Generates color palettes, harmonies, gradients, and WCAG contrast checks, with CSS and Tailwind output.

What you can do
A remote color utility service exposed over MCP. It converts colors between hex, RGB, and HSL, builds harmonies such as complementary, analogous, triadic, split, tetradic, and monochromatic, and produces multi-step gradients with CSS gradient strings. It also computes contrast ratios with WCAG AA and AAA pass/fail flags, generates random palettes, and emits CSS variables or Tailwind config from a supplied color list.
When to use it
Useful when an assistant is helping with design or front-end work and needs palette suggestions, gradient definitions, or accessibility checks on text and background color pairs. It is a lightweight addition if you want color math and WCAG scoring without writing it yourself.
Requirements
A remote MCP endpoint at over streamable HTTP; no package install, account, API key, or environment variable is declared. Network access to that host is required.
Before you install
The README advertises a paid Pro tier at $29/mo for unlimited calls, so free usage may be rate-limited or metered. The service is third-party hosted, so color values you submit are sent to that operator. No credentials are requested by the manifest.

Installation

In SourceWeft

  1. Open Color Palette in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.lazymac2x%2Fcolor-palette/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "color-palette": {
      "type": "http",
      "url": "https://api.lazy-mac.com/color-palette/mcp"
    }
  }
}

README

[logo]

[lazymac API Store] [Gumroad] [MCPize]

color-palette-api

⭐ Building in public from $0 MRR. Star if you want to follow the journey — lazymac-mcp (42 tools, one MCP install) · lazymac-k-mcp (Korean wedge) · lazymac-sdk (TS client) · api.lazy-mac.com · Pro $29/mo.

[npm] [Smithery] [lazymac Pro] [api.lazy-mac.com]

🚀 Want all 42 lazymac tools through ONE MCP install? npx -y @lazymac/mcp · Pro $29/mo for unlimited calls.

Color palette generation API — harmonies, gradients, contrast checking, WCAG accessibility scoring, CSS/Tailwind output. Zero external dependencies.

Quick Start

bash
npm install && npm start  # http://localhost:4000

Endpoints

Convert

bash
curl http://localhost:4000/api/v1/convert/ff6b35# → {"hex":"#ff6b35","rgb":{"r":255,"g":107,"b":53},"hsl":{"h":16,"s":100,"l":60}}

Color Harmonies

bash
# Types: complementary, analogous, triadic, split, tetradic, monochromaticcurl http://localhost:4000/api/v1/harmony/complementary/ff6b35curl http://localhost:4000/api/v1/harmony/triadic/3498dbcurl http://localhost:4000/api/v1/harmony/monochromatic/e74c3c?count=7

Gradient

bash
curl "http://localhost:4000/api/v1/gradient/ff6b35/3498db?steps=7"# → colors array + CSS gradient string

Contrast / WCAG Accessibility

bash
curl http://localhost:4000/api/v1/contrast/000000/ffffff# → {"ratio":21,"AA_normal":true,"AA_large":true,"AAA_normal":true,"AAA_large":true}
curl http://localhost:4000/api/v1/contrast/ff6b35/ffffff# → Check if your orange text passes accessibility on white background

Random Palette

bash
curl "http://localhost:4000/api/v1/random?count=5"

CSS Variables

bash
curl -X POST http://localhost:4000/api/v1/css \  -H "Content-Type: application/json" \  -d '{"colors":["#ff6b35","#3498db","#2ecc71"], "name":"brand"}'

Tailwind Config

bash
curl -X POST http://localhost:4000/api/v1/tailwind \  -H "Content-Type: application/json" \  -d '{"colors":["#fef3c7","#fde68a","#fcd34d","#fbbf24","#f59e0b","#d97706","#b45309","#92400e","#78350f","#451a03"], "name":"amber"}'

License

MIT

💡 Host your own stack? Get $200 DigitalOcean credit via lazymac referral link.

Source: README.md at commit 9690e63

Tools

7

convert_color

Convert a hex color to HEX, RGB, HSL, and CMYK formats. Input: hex string with or without # (e.g. "ff5733").

Parameterscolorrequired

color_harmony

Generate a set of harmonious colors from a base hex color. Harmony types: complementary, analogous, triadic, split, tetradic, monochromatic.

Parameterstyperequiredcolorrequiredcount

generate_gradient

Generate an interpolated gradient between two hex colors. Returns color stops and a ready-to-use CSS linear-gradient string.

Parametersstepscolor1requiredcolor2required

check_contrast

Check WCAG 2.1 contrast ratio between foreground and background colors. Returns ratio and AA/AAA pass/fail for both normal and large text.

Parametersbackgroundrequiredforegroundrequired

random_palette

Generate a random harmonious color palette. Colors share a hue family to avoid clashing.

Parameterscount

generate_css

Generate CSS :root custom properties from a list of hex colors. Returns a ready-to-paste CSS block.

Parametersnamecolorsrequired

generate_tailwind

Generate a Tailwind CSS color config object. Colors are mapped to standard shades (50, 100, 200 … 900) in order. Paste the result into tailwind.config.js theme.extend.colors.

Parametersnamecolorsrequired

Version history

1
  1. v1.0.0LatestSep 16, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.