---
title: "Find color names"
method: POST
path: "/api/v1/nearest-names"
---

# Find color names

`POST /api/v1/nearest-names`

## Request

- Base URL: `https://pickshade.com`
- URL: `https://pickshade.com/api/v1/nearest-names`
- Auth: none declared

Find the closest named colors, CSS color keywords and Tailwind CSS classes for a color, ranked by perceptual distance (deltaE OK).

## Request body

- object
  - `color` string, required: Any color: #ff5733, rgb(255 87 51), hsl(11 100% 60%), oklch(68% 0.21 34), a CSS or common name like navy, or a Tailwind class like sky-500
  - `limit` integer
  - `locale` 'en' | 'ru': Language for color names

## Response `200`

Result

## Other responses

- `400`: Invalid input
- `429`: Too many requests. See the Retry-After header

---

[API](https://skmtc.dev/pickshade/apis/pickshade-color-api.md) · [All operations](https://skmtc.dev/pickshade/apis/pickshade-color-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pickshade/apis/pickshade-color-api/revisions/00f0b7c55ea7?raw)
