Tailwind palette from one hex
Give Claude one brand hex and get an 11-shade scale, named roles and dark mode as Tailwind v4 CSS.
See it work
You give it
Our brand colour is #1F6F5C. Make the Tailwind palette.
You get back
#1F6F5C converts to hsl(166, 56%, 28%). I held the hue at 166 and stepped the lightness, with the lighter shades slightly less saturated so they don't turn into loud pastels.
| Shade | HSL | Hex | Use |
|---|---|---|---|
| 50 | hsl(166, 45%, 97%) | #F4FBF9 | subtle backgrounds |
| 100 | hsl(166, 45%, 94%) | #E9F7F3 | hover states |
| 200 | hsl(166, 48%, 87%) | #CEEEE6 | borders, dividers |
| 300 | hsl(166, 50%, 75%) | #9FDFD0 | disabled states |
| 400 | hsl(166, 53%, 62%) | #6BD1B9 | placeholder text |
| 500 | hsl(166, 56%, 48%) | #36BF9F | brand baseline |
| 600 | hsl(166, 56%, 40%) | #2D9F84 | primary actions |
| 700 | hsl(166, 56%, 33%) | #25836D | hover on primary |
| 800 | hsl(166, 56%, 27%) | #1E6B59 | active states |
| 900 | hsl(166, 56%, 20%) | #165042 | text on light backgrounds |
| 950 | hsl(166, 56%, 10%) | #0B2821 | darkest accents |
One thing to decide before the tokens: your brand colour is darker than a usual 500 or 600 and sits closest to 800.
First part of a run in Claude (Opus 5.5), Nov 2026
What it does
- Makes 11 shades, from 50 to 950.
- Maps shades to roles like background and border.
- Checks text contrast against WCAG.
What's inside
color-palette/CREDITS.mdcolor-palette/LICENSEcolor-palette/SKILL.mdcolor-palette/assets/tailwind-colors.css
How you use it
- Get the skill: one zip file. It comes with every paid plan.
- Add it to Claude. In Claude, open Customize (Plugins on newer screens), then Skills. Press +, then Create skill, then Upload a skill. In Claude Code, unzip it into ~/.claude/skills/ instead.
- Start a new chat and tell Claude what you need, the way the example above does. The skill takes it from there.
- Then ask for the work. Claude reaches for the skill when it fits, or name it: "use color-palette".
Get this skill with a paid plan
The download comes with every paid plan, along with all 204 Claude skills and the rest of the AI toolkit. “Sites that don't look templated” in this folder is free, so you can try one first.