Text2Color — Natural Language Color API
Published by @mdforge
· Verified
99.98% uptime
~4ms avg
AI Score 94/100
Convert natural-language color phrases ('deep ocean blue', 'warm terracotta') to HEX/RGB/HSL/CMYK/Tailwind, reverse-name HEX codes & build palettes.
Try it live
https://api.indieapis.com/v1/text-to-color/resolve
Resolve descriptive color text into HEX, RGB, HSL, CMYK & nearest Tailwind token.
Response
Press Run to call the live API
{
"ok": true
}
Overview
Convert natural-language color phrases ('deep ocean blue', 'warm terracotta') to HEX/RGB/HSL/CMYK/Tailwind, reverse-name HEX codes & build palettes.
Self-hosted production API with hard monthly spend caps ($0 surprise overages) and native Streamable HTTP MCP support.
Gateway Headers & Hard Caps
Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset.
When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.
3 endpoints
| Method | Path | Parameters | Description |
|---|---|---|---|
| GET | /resolve |
text*
|
Resolve descriptive color text into HEX, RGB, HSL, CMYK & nearest Tailwind token. |
| GET | /name |
hex*
|
Convert any HEX color to a descriptive human name, closest named color & Tailwind token. |
| GET | /palette |
theme*
|
Generate a harmonious 5-color UI palette from any mood or color phrase. |