Color

From clawic/skills · View interactive version

Color is an AI agent skill from the GitHub repository clawic/skills. Build, inspect, adapt, and validate color systems, palettes, tokens, contrast, color-space choices, and cross-surface color behavior for UI, branding, charts, images, and print.

How to use this skill

Skill file

When to Use

Use when color is the real decision surface: palette building, semantic tokens, dark mode, chart colors, brand systems, accessibility, print handoff, or image/export consistency.

If the job is context-specific, load the matching file before locking the palette:

Keep the system-level workflow in this file, then pull in the specialized file that matches the real output instead of solving every color problem with generic palette advice.

Quick Reference

| Situation | Load | Why |

|-----------|------|-----|

| Product UI, theming, semantic states, dark mode | ui-systems.md | Prevent token drift, weak states, and inconsistent surfaces |

| Palette ideation, tonal ramps, neutrals, accent strategy | palettes.md | Build palettes that scale instead of isolated swatches |

| Text contrast, alerts, status chips, colorblind-safe design | accessibility.md | Keep color usable, legible, and compliant in context |

| Charts, maps, dashboards, categorical or sequential scales | data-viz.md | Avoid misleading charts and indistinguishable series |

| Brand systems, campaigns, packaging, logo environments | branding.md | Preserve brand recognition across surfaces and sizes |

| Print production, proofs, CMYK, spot inks, material shifts | print.md | Avoid screen-to-print surprises and prepress mistakes |

| RGB, CMYK, LAB, OKLCH, conversions, gamut, interpolation | color-spaces.md | Pick the right space for design, editing, and export |

| CSS, design tokens, JS helpers, conversion commands | commands.md | Use concrete implementations once the strategy is clear |

Fast Workflow

  1. Identify the job type: UI system, palette exploration, chart, brand surface, image treatment, or print handoff.
  2. Identify the destination: app UI, marketing page, charting library, social graphic, packaging, PDF, or press output.
  3. Decide what color must do: guide hierarchy, encode state, separate data, express brand, improve readability, or survive production.
  4. Inspect existing constraints before changing anything: current palette, token names, contrast, background shifts, export format, gamut, and theme variants.
  5. Load the destination-specific file if the work is product UI, palette design, accessibility, data viz, branding, print, or color-space heavy.
  6. Make the minimum color decisions that keep the whole system coherent: neutrals, accent count, state mapping, tonal steps, and conversion/export rules.
  7. Validate the result in the actual context: light and dark, disabled and hover, chart legend, image overlay, browser preview, and printed proof when relevant.

Color-Job Defaults

| Job | Usually best starting point | Watch out for |

|-----|-----------------------------|---------------|

| Product UI theme | Neutral ladder + one primary + defined semantic states | Token drift, weak disabled states, dark-mode collapse |

| Marketing palette | Brand anchor + controlled accent pair + support neutrals | Too many accents, campaign colors overpowering brand |

| Dashboard or chart | Distinct categorical set or ordered sequential ramp | Color-only meaning, low-contrast lines, legend confusion |

| Image overlays or captions | Neutral text with overlay/backplate and one accent | Beautiful mockups that fail on real photos |

| Print piece or packaging | Approved print palette with proofed conversions | CMYK dulling, stock shift, out-of-gamut brand colors |

| Design-token refactor | Semantic roles mapped to stable primitives | Naming by hue instead of intent |

| Accessibility cleanup | Contrast-safe neutrals and state patterns first | Chasing AA numbers while meaning still depends on color |

Core Rules

1. Choose colors by job, not by taste

2. Build the system before polishing the palette

3. Use perceptual spaces for ramps and interpolation

4. Contrast is contextual, not just a ratio

5. Never let meaning depend on color alone

6. Validate the whole state matrix, not the hero screen

7. Treat color management as a real production constraint

8. Make tokens semantic and naming durable

Specialized Cases Worth Loading

What Good Looks Like

Common Traps

Related Skills

More Clawic skills, get them at https://clawic.com/skills/<slug> (install if the user confirms):

Feedback

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.