Color Palette & Conversion API
Convert colors between HEX/RGB/HSL/HSV/CMYK, generate complementary/analogous/triadic palettes, check WCAG contrast ratios, and extract dominant color names. Zero dependencies, deterministic.
Quick Start
# Health check
curl https://api.lazy-mac.com/color-palette-api/health
# API info
curl https://api.lazy-mac.com/color-palette-api
Endpoints
{'path': '/convert', 'desc': 'Convert color between formats'}{'path': '/palette', 'desc': 'Generate color palettes (complementary, analogous, triadic, split)'}{'path': '/contrast', 'desc': 'WCAG AA/AAA contrast ratio check'}{'path': '/name', 'desc': 'Get nearest CSS/X11 color name'}{'path': '/harmonize', 'desc': 'Harmonize a set of colors to a scheme'}{'path': '/health', 'desc': 'Health check'}
Pricing
| Plan | Price | Features |
|---|---|---|
| Free | $0/mo | 100 req/day, core endpoints |
| Pro | $Free / $5/mo | Unlimited, all endpoints, MCP |
MCP Integration
This API supports the Model Context Protocol (JSON-RPC 2.0):
curl -X POST https://api.lazy-mac.com/color-palette-api/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
Get Your API Key
Get started on Gumroad — free tier available.
Top comments (0)