Analyse Image

Extract dominant colours from an image using k-means clustering. Deterministic — same image always returns same palette. Feed hex values directly into POST /brand/audit.

Returns colours ranked by pixel area percentage.

post/analyse/image

Request

  • Base URL: https://api.colourmemory.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.colourmemory.com/analyse/image
  • Auth: none declared

Headers

x-api-keystring nullable
originstring nullable

Request body

image_base64string required
kinteger
exclude_neutralsboolean
min_area_pctnumber

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.