---
title: "Palette Analyse"
method: POST
path: "/palette/analyse"
---

# Palette Analyse

`POST /palette/analyse`

## 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/palette/analyse`
- Auth: none declared

Match a palette of hex colours against the archive in a single call.

For each colour returns the nearest named archive entry with:
  name, archive, hex, dE2000, confidence, confidence_score,
  claim_strength (A-E), primary_source, do_not_say guardrails,
  and an alternatives array when confidence is low.

Palette-level deduplication: no two colours share the same archive entry.
Dominant colours (weight >= 0.3) get a wider internal candidate search.
Combined scoring: dE2000 penalised by record quality so weak sources
lose to good sources at similar perceptual distance.

## Headers

- `x-api-key` string, nullable

## Request body

- PaletteAnalyseRequest
  - `colours` PaletteColourInput[], required
    - `hex` string, required
    - `weight` number
  - `archive` string
  - `allowed_archives` string[]
  - `n` integer
  - `intent` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/colourmemory/apis/colour-memory-api.md) · [All operations](https://skmtc.dev/colourmemory/apis/colour-memory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/colourmemory/apis/colour-memory-api/revisions/4ba028f64042?raw)
