Palette Generator

Generate HSLuv-based color palettes and export shaddercn design tokens as CSS variables.

Palette Controls
Shape the grid before assigning colors to tokens.
0–100
80
0°–360°
0–360°
0–100%
15–85%
Palette Grid
Click a swatch to copy its hex.
--primary

Tip: click any swatch to copy its hex value.

Overview

The Palette Generator helps you build balanced color systems using HSLuv. Adjust hue, saturation, and luminance to explore the grid, then assign swatches to shaddercn tokens like --primary, --accent, and --background.

Features

  • HSLuv palette grid - Explore consistent color steps across hue and luminance
  • Token assignment - Click a token, then pick a swatch to map it
  • Copy on click - Swatches copy the hex value to your clipboard
  • CSS export - Download a ready-to-use CSS file with light and dark blocks

How to Use

  1. Adjust Saturation, Hue Range, and Luminance to shape the grid.
  2. Select a token (Primary, Accent, Background, etc.).
  3. Click any color swatch to assign it. The hex value is copied automatically.
  4. Click Download CSS to export your palette.

Example Output