Color Math Accessibility
Designcolor-math-accessibilityColor Math Accessibility is an Agent Skill for design published in the hashgraph-online/awesome-codex-plugins repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Calculate, review, and generate web color systems using RGB, HSL, LAB, OKLCH, contrast ratios, luminance, opacity, blend modes, and light/dark mode transformations. Use when auditing accessible colors, converting color models, deriving palettes, checking WCAG contrast, building theme tokens, or debugging opacity and CSS blend math.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/hashgraph-online/awesome-codex-plugins/blob/HEAD/plugins/LVTD-LLC/skills/skills/color-math-accessibility/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/color-math-accessibility, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Color Math Accessibility
Use this skill when colors need to be explainable, accessible, and reproducible. It focuses on color math that affects real UI outcomes: contrast, palette relationships, perceptual lightness, opacity, and blending.
Quick Start
- Read
guidelines.mdto select the smallest relevant file set. - Load
references/color-systems/rules.mdfor implementation decisions. - Load
references/color-systems/examples.mdwhen editing code. - Use
workflows/audit-color-system.mdfor multi-step derivation or debugging.
Contents
| Resource | Purpose |
|---|---|
guidelines.md | Routes tasks to the right reference files |
references/source-map.md | Book source and chapter/section traceability |
references/color-systems/knowledge.md | Core concepts and terminology |
references/color-systems/rules.md | Practical rules, guidelines, and exceptions |
references/color-systems/examples.md | Bad/good examples and refactoring approach |
references/color-systems/patterns.md | Reusable formula and implementation patterns |
references/color-systems/checklist.md | Review checklist and red flags |
workflows/audit-color-system.md | Step-by-step workflow |
Source
Derived from Math for Web Design by Paul McFedries, Chapter 7: The mathematics of color.
Citations are tracked in references/source-map.md.