OpenParable
Skip to content
← Back to skills

Color Math Accessibility

Design
color-math-accessibility

Color 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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
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

  1. Read guidelines.md to select the smallest relevant file set.
  2. Load references/color-systems/rules.md for implementation decisions.
  3. Load references/color-systems/examples.md when editing code.
  4. Use workflows/audit-color-system.md for multi-step derivation or debugging.

Contents

ResourcePurpose
guidelines.mdRoutes tasks to the right reference files
references/source-map.mdBook source and chapter/section traceability
references/color-systems/knowledge.mdCore concepts and terminology
references/color-systems/rules.mdPractical rules, guidelines, and exceptions
references/color-systems/examples.mdBad/good examples and refactoring approach
references/color-systems/patterns.mdReusable formula and implementation patterns
references/color-systems/checklist.mdReview checklist and red flags
workflows/audit-color-system.mdStep-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.