Hover, pressed and status colours
Give Claude one or two brand colours and get hover, pressed and disabled shades, tinted greys and status colours.
See it work
You give it
Our brand colour is #E4572E, a red-orange. We need hover and pressed states for buttons, greys and status colours.
You get back
#E4572E is hsl(14, 77%, 54%). Here are the states, made by holding hue and saturation and moving lightness:
```css
--color-primary-subtle: hsl(14, 23%, 99%); /* #FDFCFC near-white tint */
--color-primary-tint: hsl(14, 77%, 94%); /* #FBE9E4 light background */
--color-primary: #E4572E; /* base */
--color-primary-hover: hsl(14, 77%, 46%); /* #D0451B, -8% lightness */
--color-primary-active: hsl(14, 77%, 40%); /* #B53C17, -14% lightness */
```
A contrast warning: white text on the base is about 3.7:1. That passes for large or bold text (3:1) but not for normal-size button labels (4.5:1). The hover shade gives 4.62:1. If your labels are 14 to 16px, I'd make #D0451B the resting button colour and step hover and active down from there, or put dark text on the base.
First part of a run in Claude (Opus 5.5), Nov 2026
What it does
- Makes hover, pressed and disabled shades by fixed rules.
- Tints the greys with your brand colour.
- Derives success, warning and error colours that match.
What's inside
algorithmic-color-palette/CREDITS.mdalgorithmic-color-palette/LICENSEalgorithmic-color-palette/SKILL.md
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 algorithmic-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.