Color Converter — Free & Private

A free edge API by formatho.com, privacy-first developer tools.

Open the full browser tool →

Free, no signup, runs entirely in your browser — your data never leaves your device.

🔓 Free 🔒 Zero tracking 🚫 No data collection ⚡ Edge-fast

Usage

# HEX in — every format out:
curl "https://color-converter-formatho.filesformatho.workers.dev/api?color=%23ff6600"

# RGB or HSL in:
curl "https://color-converter-formatho.filesformatho.workers.dev/api?color=rgb(255,102,0)"
curl "https://color-converter-formatho.filesformatho.workers.dev/api?color=hsl(30,100%,50%)"

Parameters

ParamDefaultDescription
colorrequiredA color: #f60, #ff6600, #ff6600aa, rgb(255,102,0), rgba(...), hsl(30,100%,50%), hsla(...) or bare 255,102,0. Alias: c.

One call returns HEX, RGB(A), HSL(A), HSV, CMYK plus WCAG relative luminance and an is_dark flag for contrast decisions.

Live response: /api endpoint.

Privacy-first: every request is processed in-memory on Cloudflare's edge and answered immediately. No logs, no analytics, no cookies, no data collection.

What it handles

3/4/6/8-digit hex (8-digit keeps alpha), percentage or 0–255 channel values, degrees or percentages for HSL, and transparent rgba/hsla alpha — all normalized to every common CSS color format.

Full browser tool

Prefer a UI with a live swatch and picker? Use the complete client-side version — it runs entirely in your browser: Color Converter on formatho.com.

All Formatho edge APIs

Browse every free Formatho Worker tool on the Formatho Tools index.