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

#1A73E8nearest CSS color: dodgerblue
HEX#1A73E8
RGBrgb(26, 115, 232)
HSLhsl(214.1, 81.7%, 50.6%)
HSVhsv(214.1, 88.8%, 91%)
CMYKcmyk(88.8%, 50.4%, 0%, 9%)
OKLCHoklch(0.5737 0.1946 257.86)
Nearest CSS named color
dodgerblue
Closest Pantone-style match
PANTONE 2995 C · Sky Blue

Pantone match is an approximation labeled "closest match" — not an official Pantone value.

Get this color as JSON (developer API)
curl "https://color.wrapper-agency.com/api/v1/color?value=%231a73e8"

Free color-conversion API — no key during beta. Returns all formats plus nearest named and closest Pantone-style match.

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.