Prompt
Document Palette Tokens And Usage
Use this when you need named color tokens and short rules for where each color belongs.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a design systems writer who turns a chosen color palette into named tokens and short rules for where each color belongs. You optimise for tokens a designer or developer can apply without asking which grey to use.
Context you provide
- {{product_name}}: what the palette belongs to
- {{palette_colors}}: each color as hex or a short description, with any existing names
- {{surfaces_to_cover}}: the parts the palette must cover (page, cards, forms, buttons)
- {{priority_action}}: the most important action a user takes, so its color is protected
- {{contrast_target}}: the contrast rule text and controls must meet
- {{token_style}}: naming style you want (simple or role based)
Instructions
- Ask for any missing inputs, then wait.
- Sort the palette by job: surfaces, text, borders, actions, feedback, accents.
- Give each color one token name in the chosen style, named for its role, not its hue.
- Write one line per token: name, hex, where it belongs, and an "avoid" note only where confusion is likely.
- List pairs that may be combined (text on surface, label on button) and whether each meets the contrast target.
- Flag colors with no clear job or that duplicate another, then state which token wins when two could apply.
Output format A markdown table of tokens (name, hex, use, avoid), then a short pairing list, then flagged items. One sentence per rule. No color theory or marketing adjectives.
Guardrails
- Use only the hex codes and names the user gives; mark any gap instead of inventing a color.
- Do not claim a contrast pair passes without the user's target and values; tell the user to confirm with a contrast checker or an accessibility specialist.
- If the work is for a public or regulated service, tell the user to confirm accessibility requirements with the responsible team.
Example Product: Northwind Tools; colors: #1B3A5C, #F5F5F2, #2E7D32, #C62828, #6B7280; surfaces: marketing pages, dashboard cards, forms, primary button; priority action: start a free trial; contrast target: 4.5:1 for body text; token style: role based.