Back to Skills

color-palette

Generate complete, accessible colour palettes from a single brand hex. Produces 11-shade scale (50-950), semantic tokens, dark mode variants, Tailwind v4 CSS output, WCAG contrast checks. Use whenever the user supplies a brand hex and asks for a palette, mentions setting up a design system, wants Tailwind theme colours from a brand colour, or asks to check colour accessibility / contrast.

805stars80forksUpdated 5/28/2026

Security Assessment

Safe(100/100)
Security Score100/100

About color-palette

The color-palette skill generates a complete and accessible colour system from a single brand hex value. It is designed to help developers and designers quickly create consistent design system palettes without manually tuning shades or accessibility values. Starting from one primary brand colour, the skill converts the hex value into HSL format and produces an 11-shade scale ranging from 50 to 950. The generated palette is intended to maintain a smooth visual progression while preserving the recognisable identity of the original brand colour. The workflow also emphasizes accessibility and usability for modern UI systems.

The skill includes several core capabilities for design system generation and colour management. It creates Tailwind v4 CSS-ready colour scales, applies controlled saturation adjustments to lighter shades to avoid overly vibrant pastels, and generates semantic colour tokens alongside dark mode variants. The skill also includes WCAG contrast checking guidance to support accessible interface design. Internally, it provides JavaScript-based utility functions for converting between Hex, HSL, and generated colour scales. The output is structured so that lighter shades work effectively for backgrounds and borders, while darker shades remain suitable for text and emphasis.

This skill is useful for frontend developers, UI engineers, product designers, and teams building reusable design systems. It is especially relevant when creating Tailwind themes from a single brand colour, standardising semantic design tokens, or evaluating colour accessibility across interfaces. The skill is intended for workflows where users need a fast and repeatable method for producing production-ready colour palettes while maintaining visual consistency and accessibility standards.

FAQ

What input is required to generate a palette?

The skill requires a single primary brand hex colour, such as #0D9488, to generate the full colour palette.

What kind of palette does the skill generate?

The skill generates an 11-shade colour scale ranging from 50 to 950, including lighter background shades and darker text-ready shades.

Does the skill support accessibility checks?

Yes. The skill includes WCAG contrast checking guidance to help evaluate colour accessibility and readability.

Can the generated palette be used with Tailwind CSS?

Yes. The skill produces Tailwind v4 CSS-ready output that can be pasted into a project theme configuration.

Are dark mode variants supported?

Yes. The skill mentions support for generating dark mode variants alongside semantic colour tokens.

All Files

2 files
assets/tailwind-colors.css5.0 KB
View
SKILL.md14.7 KB
View

Install color-palette

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill