---
title: "List all palettes"
method: GET
path: "/api/palettes"
tags: ["Palettes"]
---

# List all palettes

`GET /api/palettes`

## Request

- Base URL: `https://trmnl.com`
- URL: `https://trmnl.com/api/palettes`
- Auth: none declared

## Response `200`

Success

- object
  - `data` Palette[]
    - `id` string, required: Unique identifier
    - `name` string, required: Human-readable name
    - `grays` integer, nullable: Number of grayscale levels (null for color palettes)
    - `colors` string[], nullable: Array of hex color codes (null for grayscale palettes)
    - `framework_class` string: Framework CSS class for this palette
    - `grayscale_bit_depth` integer, nullable: For color palettes, bit depth for grayscale areas (1 for 3/4-color limited, 2 for 6/7-color, 4 for full-spectrum)

---

[API](https://skmtc.dev/trmnl/apis/trmnl-api.md) · [All operations](https://skmtc.dev/trmnl/apis/trmnl-api/llms.txt) · [OpenAPI document](https://skmtc.dev/trmnl/apis/trmnl-api/revisions/66179e6d663b?raw)
