Color Data API
A free REST and MCP API for hex lookups, named-color search, WCAG contrast, and colorblind simulations. No API key is required for reads.
GET /api/v1/color/{hex} with a 6-digit hex and no hash. Optional query flags: accessibility=true and colorblind=true.
Responses include HEX, RGB, HSL, HSV, CMYK, whether the color is named, owner metadata, and the nearest named color with Delta E (CIE76) distance.
Additional endpoints cover search, bulk availability, brand palettes, registry lists, stats, and MCP tools (search-colors, get-recent-colors, color://{hex}).
- Base URL
- https://opencolors.org/api/v1/color/{hex}
- Auth
- None for read endpoints
- MCP
- https://opencolors.org/api/mcp
- CORS
- Access-Control-Allow-Origin: *