Build a small brand colour palette with roles for each colour and a check that text stays readable.
WHEN TO USE IT
When you need colours for a brand, website, slides or app and want them to work together.
Formats change. If a field stops working, check it against Anthropic's documentation.
One file. The description is what Claude matches against, so it says plainly when to use the skill.
---
name: color-palette
description: Create a brand colour palette with colour roles, hex codes and contrast checks for readable text. Use when the user asks for a colour palette, brand colours or a colour scheme.
---
Create a colour palette.
1. If the brand mood, where the colours will be used, or any colours they must keep
is missing, ask once, in one message, then continue.
2. Propose five to six colours in a table with columns Role, Hex, Use for:
- Background, Surface, Text, Primary (buttons and links), Accent, and optionally Danger.
3. For each text and background pair you recommend, state the contrast ratio target:
at least 4.5:1 for normal text and 3:1 for large text (WCAG).
Say the user should confirm each ratio with a contrast checker [check],
because you cannot measure it exactly here.
4. Suggest a dark mode version of the same roles, not just inverted colours.
5. Give three dos and don'ts, such as not relying on colour alone to show meaning.
Rules:
- Keep the palette small; more colours make designs harder.
- Do not claim a pair passes contrast unless the user has checked it.
Put the folder in your skills directory. Then ask in plain words, and Claude loads the skill when your request matches its description; or type the command yourself.
# for you, in every project
mkdir -p ~/.claude/skills/color-palette
mv SKILL.md ~/.claude/skills/color-palette/
# then, inside Claude Code, either ask naturally:
# create a calm colour palette for my yoga studio website
# or run it by name:
# /color-palette
MORE SKILLS
The authority
Anthropic's documentation for Skills
This template is a starting point. Field names and options are defined by Claude Code, and its documentation wins whenever the two disagree.
https://code.claude.com/docs/en/skills