Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计通过

color-palette调色板

Agent Skill

color-palette 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

198

周安装

8

GitHub Stars

15

下载量

62
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:color-palette(调色板)
来源仓库:https://github.com/nickcrew/claude-ctx-plugin
仓库路径:skills/color-palette
安装命令:
npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill color-palette
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill color-palette

简介

调色板工具提供色彩搭配建议和视觉设计方案。

  • 适用于品牌设计、界面美化和视觉传达场景。color-palette 属于待分类类 Skill,可作为该场景下的辅助能力补充。
  • 支持色彩理论、对比度检查和主题切换功能。
  • 使用时需考虑色盲友好性和跨平台显示一致性。
  • 建议结合具体使用场景选择合适的色彩方案。

SKILL.md

Color Palette

Overview

This skill helps you create purposeful, accessible, and cohesive color palettes for digital products and brands. Color is one of the highest-leverage design decisions you can make—it communicates brand personality, guides user attention, conveys meaning, and determines whether your product is usable by people with visual impairments. This skill covers brand palette creation, semantic color systems (primary, secondary, neutral, semantic), accessibility validation against WCAG standards, and design token documentation. The output is a structured, ready-to-use color system, not a mood board.

When to Use

  • Creating a color palette for a new brand, product, or design system
  • Extending an existing brand palette for digital use
  • Auditing an existing palette for accessibility issues
  • Defining semantic color roles (primary, danger, success, warning, neutral)
  • Generating color token documentation for developer handoff
  • Choosing colors for a specific context (dark mode, data visualization, illustration)

When NOT to Use

  • Photo editing or color grading (use dedicated image editing tools)
  • Print production color matching (CMYK and Pantone matching requires specialized tools)
  • Interior design or physical product color specification
  • Fashion or textile color selection

Quick Reference

TaskApproach
Brand paletteStart with 1 primary hue, add 1–2 accent hues, build neutrals
AccessibilityText on background must meet 4.5:1 (AA) or 7:1 (AAA) contrast ratio
Semantic colorsMap roles: primary, secondary, success (#22c55e range), warning (#f59e0b range), danger (#ef4444 range)
Neutral scaleGenerate 9–11 shades (50–950) from near-white to near-black
Dark modeDon't invert; remap semantic roles to dark-optimized values
Data vizUse categorical (distinct hues) or sequential (single hue, varying lightness) palettes
Token namingUse semantic names: color.brand.primary, color.feedback.error, not hex values
Tints and shadesGenerate 9 steps per color; 500 = base, 100 = lightest, 900 = darkest

Instructions

  1. Gather brand context before choosing any color. Identify: industry, audience, competitors, brand personality keywords (e.g., "trustworthy, modern, approachable"), any existing brand colors that must be retained, and primary use case (web app, marketing site, mobile app). Color choices must serve the brand, not just look nice in isolation.
  2. Choose the primary hue strategically. One hue anchors the entire system. Consider industry conventions (blue for trust/tech, green for health/finance, orange for energy/creativity), then differentiate. Generate a full 9-step scale for the primary hue (50, 100, 200, 300, 400, 500, 600, 700, 800, 900). The 500 step is typically the base brand color; 600–700 are used for hover and interactive states.
  3. Add secondary and accent colors with intention. Secondary colors extend the palette for components, illustrations, and charts. Use color theory to select harmonious relationships: analogous (adjacent hues), complementary (opposite hues), or triadic (three evenly spaced hues). Limit to 1–2 secondary hues to avoid visual noise.
  4. Build the neutral scale. Neutrals carry the most visual weight in a digital product (backgrounds, text, borders, dividers). Generate 9–11 steps from near-white to near-black. Slightly warm or cool the neutrals to complement your primary hue — pure gray often feels sterile.
  5. Define semantic color roles. Map functional meaning to colors: primary (brand actions), secondary (alternative actions), success (completion, positive), warning (caution, needs attention), danger/error (destructive actions, failures), info (neutral information). Each semantic role needs a background, text, and border value at minimum.
  6. Validate all combinations against WCAG accessibility standards. Every color combination used for text must meet WCAG 2.1 AA (4.5:1 contrast ratio for normal text, 3:1 for large text ≥18pt or 14pt bold). UI components and focus indicators must meet 3:1 against adjacent colors. Document the passing and failing combinations explicitly.
  7. Plan for dark mode if required. Dark mode is not an inversion of the light palette. Remap your semantic tokens to dark-optimized values: reduce saturation on large surfaces, use lighter neutrals for text, and ensure the same contrast ratios hold. Background levels in dark mode typically use 900, 800, 700 steps rather than white.
  8. Document as design tokens. Name every color using semantic, role-based names rather than descriptive names. color.brand.primary.500 is better than blue-medium. Provide hex, RGB, and HSL values. Group tokens by category: brand, semantic/feedback, neutral, data visualization.

Examples

Example 1: SaaS Product Color Palette — FinTech App

Input: "Create a color palette for a fintech budgeting app called 'Vault'. Brand personality: trustworthy, calm, modern. Target users: millennials managing personal finances. Must be accessible."

Output:

Brand Strategy

Vault needs to signal financial trustworthiness (blue family) while feeling modern and approachable rather than cold and corporate. Primary: a confident teal-blue. Neutrals: cool-gray with a slight blue cast. Accents: a muted green for positive financial states, a warm amber for warnings.

Primary Palette — Vault Blue

TokenHexUse
brand.primary.50#eff6ffLight backgrounds, hover states
brand.primary.100#dbeafeTinted surface backgrounds
brand.primary.200#bfdbfeBorders, dividers on tinted surfaces
brand.primary.400#60a5faIcons, secondary interactive
brand.primary.500#2563ebBase brand color
brand.primary.600#1d4ed8Button hover, active states
brand.primary.700#1e40afPressed states, emphasis
brand.primary.900#1e3a8aDark text on light backgrounds

Semantic Colors

RoleHexContrast on whiteUse
Success#16a34a5.1:1 ✅ AAPositive balance, completed goals
Warning#d977064.6:1 ✅ AAUpcoming bills, low balance
Danger#dc26265.8:1 ✅ AAOverspent, failed transaction
Info#0284c74.7:1 ✅ AATips, informational messages

Neutral Scale — Cool Gray

TokenHexUse
neutral.50#f8fafcApp background
neutral.100#f1f5f9Card backgrounds
neutral.200#e2e8f0Borders, dividers
neutral.400#94a3b8Placeholder text, icons
neutral.600#475569Secondary body text
neutral.800#1e293bPrimary body text — 16.7:1 on white ✅ AAA
neutral.900#0f172aHeadings, high-emphasis text

Accessibility Validation

CombinationContrastWCAG
neutral.800 on neutral.5016.7:1✅ AAA
brand.primary.500 on white5.1:1✅ AA
brand.primary.600 on white6.4:1✅ AA
White on brand.primary.5005.1:1✅ AA (large text)
neutral.400 on white2.5:1❌ Fail — use only for decorative, non-essential elements

Example 2: Accessible Color Scheme Audit — Existing Palette

Input: "Audit this color palette for accessibility. Primary: #7c3aed (purple), Secondary: #f472b6 (pink), Text: #6b7280 (gray), Background: #ffffff (white), Error: #ef4444 (red). Fix any failures."

Output:

Audit Results

CombinationContrastResultFix Required?
Text #6b7280 on white4.1:1❌ Fails AA (needs 4.5:1)Yes
Primary #7c3aed on white5.9:1✅ AA PassNo
White on Primary #7c3aed5.9:1✅ AA PassNo
Secondary #f472b6 on white2.5:1❌ Fails AAYes
White on Error #ef44444.1:1❌ Fails AAYes
Error #ef4444 on white4.1:1❌ Fails AAYes

Fixes

Body text: Change #6b7280#4b5563

  • New contrast on white: 7.0:1 ✅ AAA
  • Still matches the cool-gray family

Secondary (pink): #f472b6 is too light for text use. Reserve for decorative elements only. For text or interactive use, use #be185d (5.0:1 ✅ AA) instead.

Error color: Change #ef4444#dc2626

  • White text on #dc2626: 5.8:1 ✅ AA
  • #dc2626 on white: 5.8:1 ✅ AA
  • Visually imperceptible change; functionally significant improvement

Updated Palette Summary

RoleOldNewStatus
Primary#7c3aed#7c3aed✅ No change
Secondary (interactive)#f472b6#be185d🔄 Updated
Body text#6b7280#4b5563🔄 Updated
Error#ef4444#dc2626🔄 Updated

Best Practices

  • Always validate colors in context — a color that passes in isolation may fail on a colored background
  • Generate the full neutral scale before choosing accent colors; neutrals set the tone for everything
  • Use HSL to build scales: keep hue and saturation constant, vary lightness systematically
  • Reserve your brightest, most saturated colors for the smallest, most important elements (primary buttons, alerts)
  • Test your palette in grayscale — if the hierarchy disappears, you're relying too much on hue alone
  • Document every token with its use case, not just its value

Common Mistakes

  • Using brand colors for body text without checking contrast: Brand blue looks great in logos; it often fails WCAG on white backgrounds
  • Too many accent colors: More than 3–4 distinct hues creates visual chaos; reduce and consolidate
  • Building dark mode by inverting the light palette: Dark surfaces need desaturated, warm-shifted colors — pure inverted colors look harsh
  • Naming colors descriptively: "light-blue-2" is meaningless to a developer. Use semantic names: color.brand.primary.200
  • Forgetting color-blind users: ~8% of men have color vision deficiency; never use red/green alone to convey pass/fail
  • One shade per color: A single brand blue with no scale means designers invent ad-hoc variations — always build the full scale

Tips & Tricks

  • Start with the neutral scale — it's the unsung hero of every great product palette
  • Use Oklch or HSLuv color spaces for perceptually uniform scales (same lightness = same perceived brightness)
  • The 500 step is your base; 400 is for hover, 600 is for pressed, 700 is for text — this pattern works reliably
  • When in doubt about contrast, use the WebAIM Contrast Checker or Figma's built-in accessibility tools
  • Color temperature affects mood: warm neutrals (slight yellow/red cast) feel friendly; cool neutrals (slight blue cast) feel precise and professional
  • For data visualization palettes, use ColorBrewer's schemes — they're designed and tested for perceptual distinctiveness

Related Skills

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.41%
按下载量换算22

Claude

29.57%
按下载量换算18

Cursor

16.29%
按下载量换算10

Gemini CLI

8.79%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills