---
title: "systhema generate-palette"
description: "Generate palettes from hex colors as JSON, TypeScript or DTCG."
requested_language: cs
language: en
translation_notice: "This page isn't translated yet"
url: https://docs.systhema.app/cs/next/cli/generate-palette
version: unreleased (main)
docs_index: https://docs.systhema.app/cs/next/llms.txt
---
> This page isn't translated yet. Showing English.


Generate an 11-stop Tailwind-style palette (50–950) from one or more hex colors — byte-exact with [uicolors.app](https://uicolors.app) for the same input. Output is printed to stdout — copy or pipe it into your token files; it does not write to the project.

```bash
# Single color → 11 stops as JSON.
systhema generate-palette '#8b54ec'

# Wrap a single color's stops under a key.
systhema generate-palette '#8b54ec' --name primary

# Multiple named colors (don't mix bare hex with name=hex pairs).
systhema generate-palette primary=#8b54ec accent=#54eced

# Emit TypeScript or W3C DTCG instead of JSON.
systhema generate-palette '#8b54ec' --format ts
systhema generate-palette '#8b54ec' --format dtcg
```

## Options

<!-- generated:cli-flags generate-palette -->

| Flag                | Description                                                                       | Default |
| ------------------- | --------------------------------------------------------------------------------- | ------- |
| `--format <format>` | Output format: json \| ts \| dtcg                                                 | `json`  |
| `--name <name>`     | Wrap the single-input output under this key (ignored if name=hex pairs are given) |         |

<!-- /generated -->

For a full design system — not just one palette — see the [Design CLI](https://docs.systhema.app/cs/next/design/systhema-design/cli.md).

The same generator is available in code as `@systhemaui/core/color`; see [Color palettes](https://docs.systhema.app/cs/next/design/palettes.md).
