Colors
Convert, compare, mix, and discover nearby colors with direct JSON inputs.
Public API
Use the public API to convert colors, extract palettes, generate gradients, and bring MixBlob’s color workflow into your own products.
Base URL: https://api.mixblob.com/v1
All endpoints require an API key in the x-api-key header. Generate the key from your profile, then start with a low-friction colors endpoint before moving into palettes or image extraction.
Convert, compare, mix, and discover nearby colors with direct JSON inputs.
Generate or suggest structured palettes from seed colors, rules, or uploaded imagery.
Extract dominant colors and palette-ready signals from source images.
x-api-key header./colors/contrast to verify access.curl -X POST https://api.mixblob.com/v1/colors/contrast \
-H "content-type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{"fg":"#000000","bg":"#ffffff"}'API keys are assigned to a usage plan. Basic includes rate and monthly limits. Pro provides more room for production traffic.
Errors return JSON with an error field and a 4xx or 5xx status. Validate inputs and ensure your key is included.
Coming soon: a JSON spec and interactive explorer.