Color Converter API
Convert any color to every common format as clean JSON. Computed locally with standard color-space math — no API key needed during beta.
Try it
Free endpoint (single color)
GET https://color.wrapper-agency.com/api/v1/color?value=%231A73E8
{
"input": "#1A73E8",
"hex": "#1a73e8",
"rgb": { "r": 26, "g": 115, "b": 232 },
"hsl": { "h": 217, "s": 82, "l": 50.6 },
"hsv": { "h": 217, "s": 88.8, "v": 91 },
"cmyk": { "c": 88.8, "m": 50.4, "y": 0, "k": 9 },
"oklch": { "l": 0.5944, "c": 0.1817, "h": 257.5 },
"nearestNamedColor": { "name": "dodgerblue", "hex": "#1e90ff", "distance": 24.4 },
"closestPantone": { "code": "PANTONE 2995 C", "name": "Sky Blue", "hex": "#00a3e0" },
"readableTextColor": "#ffffff",
"source": "Computed locally (sRGB, HSL, HSV, CMYK, OKLCH)."
}Accepts HEX (#1A73E8), rgb(), hsl(), and CSS names (teal). Also see the OpenAPI spec.
Paid batch endpoint (agents & tools)
Convert many colors in one call via an x402 micro-payment (USDC on Base). Guaranteed access, built for palettes and pipelines.
POST https://color.wrapper-agency.com/api/v1/pro/color
Content-Type: application/json
{ "colors": ["#1A73E8", "rgb(255,0,0)", "teal", "hsl(120,100%,50%)"] }
-> { "count": 4, "results": [ { "hex": "#1a73e8", "cmyk": {...}, ... }, ... ] }Why HueKit
- Every format in one call
- HEX, RGB, HSL, HSV, CMYK, and modern OKLCH — plus nearest name.
- No rate-limit surprises
- Pure local math, ideal for batch conversion and design tooling.
- Closest Pantone-style match
- Approximate spot-color guidance, clearly labeled — never claimed as official Pantone.
New to color in code? Read the developer guide.