Language
/v1/color/convert
Send a color in any supported format (HEX, RGB, or HSL) and receive all three representations back. Accepts hex strings with or without the # prefix.
The color value to convert (HEX, RGB, or HSL).
curl -X POST https://api.botoi.com/v1/color/convert \ -H "Content-Type: application/json" \ -d '{"color":"#3EC997"}'
Convert brand colors into all required formats for CSS custom properties (HSL), JavaScript constants (HEX), and native mobile code (RGB).
Convert colors to RGB to compute relative luminance and WCAG contrast ratios for accessibility compliance checks.
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.