Public API

Documentation for MixBlob’s color and palette endpoints.

Use the public API to convert colors, extract palettes, generate gradients, and bring MixBlob’s color workflow into your own products.

Colors: Similar

Suggest visually similar colors to the given input.

Request

curl -X POST https://api.mixipaint.com/v1/colors/similar \
+  -H "content-type: application/json" \
+  -H "x-api-key: YOUR_API_KEY" \
+  -d '{"color":"#34d399","count":6}'

Body

{
  "color": "#34d399",
  "count": 6
}

Response

{
  "base": "#34d399",
  "similar": [
    "#2fc091",
    "#2ab989",
    "#26b280",
    "#219b75",
    "#1d946d",
    "#188d65"
  ]
}

Errors

  • 400 invalid body or color
  • 401 missing API key

Rate Limits

Basic: 60 req/min (burst 100), 10,000/month. Pro: higher limits.