Irodori彩り

API 문서

엔드포인트: /v1/convert · /v1/contrast · /v1/delta-e · /v1/palette · /v1/scale · /v1/nearest · /v1/lookup · /v1/css · /v1/accessibility. 모두 상태가 없고 CORS를 지원하며 JSON을 반환합니다. 전체 스키마는 /v1/openapi.json. MCP는 /mcp(Streamable HTTP) 또는 로컬 npm run mcp로 제공됩니다.

MethodPath
GET/v1/convertconvert one color or a batch between HEX, RGB, HSL, HWB, CMYK, Lab, LCH, OKLCH, XYZ, LUV
GET/v1/contrastWCAG ratio for fg/bg, or a full matrix with colors=
GET/v1/delta-eΔE76 and ΔE OK between two colors
GET/v1/paletteharmony, scale or traditional palette
GET/v1/scale50–950 scale with CSS, Tailwind and JSON exports
GET/v1/nearestnearest traditional, design-system and RAL colors
GET/v1/lookupsearch traditional names, RAL codes and design-system tokens
GET/v1/cssgradient or mesh CSS/SVG output
POST/v1/accessibilitycontrast matrix plus color-vision collision audit
GET/v1/openapi.jsonOpenAPI 3.1 description
POST/mcpMCP Streamable HTTP endpoint (JSON-RPC 2.0)

curl "/v1/convert?color=%23FF5733"

All endpoints are stateless, CORS-enabled and edge-cacheable. MCP is served at /mcp over Streamable HTTP, or locally over stdio: npm run mcp.