---
title: "Palette Gradient Endpoint"
method: POST
path: "/palette/gradient"
---

# Palette Gradient Endpoint

`POST /palette/gradient`

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

Lab/LCh interpolated gradient between archive anchor colours.

## Request body

- PaletteGradientRequest
  - `anchors` string[], required
  - `steps` integer
  - `path` string
  - `snap_to_archive` boolean
  - `archive` string, nullable
  - `output_format` 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)
