Skill library

Agent skill UI design

Color Palette

Work with color, contrast or theme choices for a web interface.

  • Color
  • Accessibility
  • Color palette
  • Design systems

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add https://github.com/jezweb/claude-skills/tree/main/plugins/design-assets/skills/color-palette --skill color-palette --agent claude-code --yes

Check this file in your project.claude/skills/color-palette/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/jezweb/claude-skills/tree/main/plugins/design-assets/skills/color-palette --skill color-palette

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring a running local preview and the code, data or tools needed for the exercise.

View operation manual

What this skill helps with

  • Work with color, contrast or theme choices for a web interface.

Good for

  • Palettes and themes
Goal
Generate semantic colors for a real component
Inputs
A brand color or existing palette and active light and dark themes
Acceptance
Check the same component in both themes and across normal, hover, focus and disabled states. Report measured contrast issues and keep out-of-scope colors intact.
Skill name
color-palette

Name the task the work needs to support

Open-ended request

Improve the whole website.

The request does not provide a surface, state, or outcome the assistant can verify.

A scoped workflow

  1. Generate semantic colors for a real component
  2. A brand color or existing palette and active light and dark themes

Color Palette operation manual

Generate semantic colors for a real component

A brand color or existing palette and active light and dark themes

  1. Prepare the real inputs

    A brand color or existing palette and active light and dark themes

    Prompt · Step 1
    Use Jezweb’s color-palette and read the installed SKILL.md. Scope this task to [Project and route]. Inspect [Current theme file] and [Primary brand color]. List existing semantic slots, including surface, foreground and interactive states. Record the current scoped file and representative UI before suggesting changes.
  2. Follow the publisher’s workflow

    Generate semantic colors for a real component

    Prompt · Step 2
    Use Jezweb’s color-palette and read the installed SKILL.md. Scope this task to [Project and route]. Follow color-palette to propose a light and dark palette mapped to actual component roles. Show swatches or token values and test text, muted and interactive color pairs before applying [Approved scope].
  3. Check output and evidence

    Check the same component in both themes and across normal, hover, focus and disabled states. Report measured contrast issues and keep out-of-scope colors intact.

    Prompt · Step 3
    Use Jezweb’s color-palette and read the installed SKILL.md. Scope this task to [Project and route]. Check the same component in both themes and across normal, hover, focus and disabled states. Report measured contrast issues and keep out-of-scope colors intact.

Look up a specific workflow problem

Supply the information the current step needs and check what it produced.

Check required project inputsSKILL.md
Command or reference
Generate semantic colors for a real component
Examples
A brand color or existing palette and active light and dark themes
Verify the resultBrowser
Command or reference
Validation
Examples
Check the same component in both themes and across normal, hover, focus and disabled states. Report measured contrast issues and keep out-of-scope colors intact.

Troubleshooting and FAQ

Can I verify a result without a preview?

Review the code and prerequisites first. Record visual or interaction checks as pending until they can be exercised.

How do I judge this run?

Check the same component in both themes and across normal, hover, focus and disabled states. Report measured contrast issues and keep out-of-scope colors intact.