Skill library

Agent skill UI design

Color Expert

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

  • Color
  • Accessibility
  • Design systems

Install the skill

Installation method

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

npx skills@latest add meodai/skill.color-expert --skill color-expert --agent claude-code --yes

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

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add meodai/skill.color-expert --skill color-expert

    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. Actual light and dark UI surfaces, approved accent and status colors, and the target browser or color-space policy.

View operation manual

What this skill helps with

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

Good for

  • Palettes and themes
Task
Build and verify accessible warning colors on two surfaces
Requirements
Actual light and dark UI surfaces, approved accent and status colors, and the target browser or color-space policy.
Deliverable
An OKLCH warning ramp, semantic background and text aliases, and measured contrast pairs for both themes.
Skill name
color-expert

Start from the actual design decision

An underspecified request

Use the same warning orange for light and dark text and backgrounds.

A raw brand or palette color can have inadequate contrast on one surface or lose its warning meaning.

A result you can check

  1. Start with the surfaces that must render the warning.
  2. Build palette references and semantic aliases separately.
  3. Check normal and fallback color paths with actual values.

Color Expert operation manual

An OKLCH warning ramp, semantic background and text aliases, and measured contrast pairs for both themes.

Actual light and dark UI surfaces, approved accent and status colors, and the target browser or color-space policy.

  1. Map each warning color to a role

    Start with the surfaces that must render the warning.

    Prompt · Step 1
    Use meodai’s installed color-expert Skill and read its SKILL.md first.
    
    For [warning banner], gather actual light and dark backgrounds and the brand accent. Define roles for text, icon, border and warning surface. Derive a small progression of related OKLCH colors with intentional lightness and chroma. Identify sRGB as the base delivery gamut unless [product policy] supports wider color.
  2. Select pairs for both appearances

    Build palette references and semantic aliases separately.

    Prompt · Step 2
    Use meodai’s installed color-expert Skill and read its SKILL.md first.
    
    Measure warning text against the warning background and verify meaningful UI boundaries against their adjacent surfaces. Recheck the intended display values after gamut mapping or fallback conversion. Map the approved values to semantic aliases, keeping label or icon meaning available when color is absent.
  3. Prove the role mapping in a specimen

    Check normal and fallback color paths with actual values.

    • Both modes have documented rendered color pairs, measured text contrast, and warning meaning communicated through more than color.
    Prompt · Step 3
    Use meodai’s installed color-expert Skill and read its SKILL.md first.
    
    Build a small local specimen using the two warning modes and record actual foreground, background and ratio for each text pair. Include the display-ready fallback values when required. Compare the role cues and confirm that the underlying reference colors can change without editing the component.

Find the relevant source guidance

Read the cited section in your installed Skill.

Build and verify accessible warning colors on two surfacesSKILL.md
Command or reference
Implementation Guidance and Accessibility
Examples
Both modes have documented rendered color pairs, measured text contrast, and warning meaning communicated through more than color.

Troubleshooting

Can I use APCA numbers as the only accessibility check?

Use the applicable WCAG contrast criterion for conformance. APCA may supply another diagnostic perspective without replacing that criterion.