A free edge API by formatho.com, privacy-first developer tools.
Free, no signup, runs entirely in your browser — your data never leaves your device.
# 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%)"
| Param | Default | Description |
|---|---|---|
color | required | A 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.
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.
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.
Browse every free Formatho Worker tool on the Formatho Tools index.