color-palette

Installation
Summary

Generate accessible 11-shade colour palettes and Tailwind v4 CSS from a single brand hex.

  • Produces complete scales (50–950) with semantic tokens for light and dark modes, plus WCAG AA contrast verification
  • Outputs ready-to-paste Tailwind v4 CSS with colour variables and dark mode overrides
  • Includes reference guides for HSL conversion, semantic token mapping, and contrast checking formulas
  • Designed for design system setup, theme creation, and brand colour standardization workflows
SKILL.md

Colour Palette Generator

Generate a complete, accessible colour system from a single brand hex. Produces Tailwind v4 CSS ready to paste into your project.

Workflow

Step 1: Get the Brand Hex

Ask for the primary brand colour. A single hex like #0D9488 is enough.

Step 2: Generate 11-Shade Scale

Convert hex to HSL, then generate shades by varying lightness while keeping hue constant.

Hex to HSL Conversion

function hexToHSL(hex) {
  hex = hex.replace(/^#/, '');
Related skills
Installs
1.9K
GitHub Stars
776
First Seen
Jan 20, 2026