跳到正文
cccskills
免费在 GitHub 公开

color-theory

Apply color theory with palette building, harmony, psychology, contrast, and accessibility standards.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md4.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Overview

Color is the fastest emotional signal in design — processed before words, before layout, before meaning. Used well, it guides attention, encodes meaning, and makes brands unforgettable. Used carelessly, it confuses and excludes. This skill covers color theory fundamentals, palette construction, psychological and cultural dimensions, and accessibility requirements.

When to use

  • Building a color palette for a brand or product

  • Choosing UI colors (actions, states, feedback, data visualization)

  • Fixing color contrast and accessibility issues

  • Understanding color psychology for marketing or branding

  • Reviewing designs for color harmony and consistency

Core concepts

    • The HSB mental model. Hue (which color), Saturation (intensity), Brightness (light/dark). Professionals think in HSB: harmonious palettes share saturation/brightness relationships even when hues differ.
    • Harmony structures. Complementary (opposites — high energy), analogous (neighbors — calm, cohesive), triadic (three equidistant — vibrant but balanced), monochromatic (one hue — elegant, safe). Pick one structure per palette; don't mix structures.
    • The 60-30-10 rule. 60% dominant neutral/background, 30% secondary, 10% accent. The accent is precious — spend it on the one thing that matters most (the CTA, the alert).
    • Color has jobs. In UI: brand expression, hierarchy (what's important), state (success/error/warning/info), and data encoding. Assign each color a job; a color doing three jobs is doing none well.
    • Psychology is contextual. Blue = trust (finance, tech), red = urgency (sales, errors), green = go/success — but culture and context modulate everything (red means luck in China, mourning in parts of Africa). Know your audience.
    • Accessibility is math. WCAG: 4.5:1 contrast for normal text, 3:1 for large text and UI components. Never encode meaning in color alone — pair with icons, labels, or patterns (8% of men have color vision deficiency).

Practical workflow

    1. Define color's jobs. List what color must do: brand recognition, primary actions, feedback states, data categories, backgrounds. Each job gets a dedicated color family.
    1. Start with neutrals. Build the grayscale/ramp first — most of any interface is neutrals. A refined neutral scale (with subtle warmth or coolness) elevates the whole design.
    1. Choose the primary. The brand/action color: distinctive in the competitive landscape, works at large and small sizes, passes contrast on its backgrounds. Test it as a button, a link, and a background.
    1. Build the supporting palette. Secondary colors, semantic colors (success/warning/error/info — test these for CVD distinguishability), and data visualization palette (categorical: distinct hues; sequential: single-hue lightness steps).
    1. Check contrast systematically. Every text/background and UI/background combination against WCAG ratios. Fix failures by adjusting lightness, not by hoping.
    1. Test in context. View the palette applied to real screens, in light and dark mode, and through color-blindness simulators (deuteranopia, protanopia, tritanopia). Print a swatch sheet — screens lie.
    1. Document with values. Hex, RGB, and HSL/HSB for each color; usage rules (when to use which); don'ts. Name semantically for UI (surface, action, critical) so the palette survives rebrands.

Common pitfalls

    • Rainbow interfaces. Too many saturated colors competing. Restraint reads as premium; rainbow reads as carnival.
    • Pure black and pure white. #000 on #FFF causes halation and eye strain. Use off-blacks (#111-#1a1a1a) and let backgrounds breathe.
    • Color-only meaning. Red/green status dots with no labels exclude color-blind users. Always add a second channel: icon, text, or pattern.
    • Inaccessible text. Light gray body text on white — the most common accessibility failure on the web. Check every combination, not just the obvious ones.
    • Gradients as a crutch. Gradient backgrounds hiding weak composition or low-contrast text. Gradients are fine as accents; they're not a substitute for hierarchy.
    • Ignoring dark mode. Designing only for light and letting dark mode be an afterthought produces muddy, low-contrast dark themes. Design both deliberately from the token level.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills312026年10月10日 更新

Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills312026年10月10日 更新

Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills312026年10月10日 更新

Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills312026年10月10日 更新

Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills312026年10月10日 更新

Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills312026年10月10日 更新

查看 aicodedecode 的全部技能

报告此技能的问题