Color Accessibility And Mode logo

Color Accessibility And Mode

Community
Deibler
color-accessibility-and-mode

Use this skill when designing color systems that must satisfy accessibility requirements, work in both light and dark modes, support high-contrast preferences, and remain meaningful for users with color blindness or low vision. Trigger when picking text colors, designing for global compliance (WCAG, EAA, ADA), supporting dark mode, or auditing an existing palette for accessibility. Sub-aspect of `color`; read that first.

Overview

PublisherDeibler
Repositoryuniversal-design-principles
Skill namecolor-accessibility-and-mode
Stars
9
Forks
3
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Deibler on GitHub. Read the source before you install it.

Installation

Install the Color Accessibility And Mode AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Deibler/universal-design-principles/tree/main/plugins/perception-and-hierarchy-principles/skills/color-accessibility-and-mode
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Deibler/universal-design-principles.git /tmp/universal-design-principles
mkdir -p .claude/skills
cp -r /tmp/universal-design-principles/plugins/perception-and-hierarchy-principles/skills/color-accessibility-and-mode .claude/skills/color-accessibility-and-mode
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Color Accessibility And Mode in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Color Accessibility And Mode on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Color Accessibility And Mode is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Color: accessibility and mode support

Accessibility-aware color isn't a polish layer; it's a constraint that shapes the palette from the start. Adding accessibility late is much more expensive than building it in. The core constraints: WCAG contrast ratios, color-blindness compatibility, high-contrast mode support, and dark-mode parity.

WCAG contrast in practice

Required ratios (relative luminance):

ContentLevel AALevel AAA
Body text (< 18pt regular or < 14pt bold)4.5:17:1
Large text (≥ 18pt regular or ≥ 14pt bold)3:14.5:1
UI components and graphical objects3:1(no AAA)

To check a color pair: any contrast tool (WebAIM, Stark, Chrome DevTools' contrast inspector). If you're picking from a designer's mockup, run every text/background pair through. Common failures:

  • Light grey body text on white (#999 or #aaa).
  • Brand-color body links on white when the brand is mid-tone.
  • Placeholder text in inputs (often unreadable).
  • White text on light brand backgrounds.

Practical rule: pick body text colors at neutral-700 or darker on light backgrounds; never use anything lighter than neutral-500 for content the user must read.

Color blindness

Approximate prevalence in populations of European descent:

  • Deuteranopia / deuteranomaly (red-green): ~6% of men, ~0.4% of women.
  • Protanopia / protanomaly (red-green, slightly different): ~2% of men.
  • Tritanopia / tritanomaly (blue-yellow): ~0.01%.
  • Achromatopsia (full color blindness): ~0.003%.

Other populations have different rates — generally lower red-green prevalence in some Asian populations.

Practical implications:

  • Don't rely on red-green distinction alone for status. Use icon, text, or pattern alongside.
  • Avoid red-on-green or green-on-red combinations for important text.
  • Test with simulators: Chrome DevTools → Rendering → Emulate vision deficiencies. Or Stark, Sim Daltonism, Color Oracle.

Dark mode

Dark mode is no longer optional for new products. Macs, iPhones, and Androids all default to dark in some contexts; users expect it.

Common pitfalls:

Pure inversion is wrong

Inverting a light palette doesn't produce a good dark palette. Saturation perception is different on dark backgrounds; very-saturated colors that read fine on white look glaring on black. Build dark-mode tokens deliberately.

Tinted neutrals work better than pure black

Pure white text on pure black is high-contrast but hard on the eyes and produces strong "halation" (blur) on OLED screens. Most well-tuned dark modes use:

  • A near-black background (not pure black): hsl(220 10% 8%).
  • Off-white text: hsl(0 0% 90%) or so.
  • Tinted neutrals keeping the same hue cast as light mode.

Adjust saturation downward

Saturated colors that work on white backgrounds need toning down for dark. A primary brand at hsl(220 90% 50%) may need to be hsl(220 70% 60%) in dark mode to feel comfortable.

Test contrast in both modes

A pair that passes AA in light mode may fail in dark mode. The luminance values differ; recheck.

High-contrast mode

Many operating systems offer a high-contrast mode for low-vision users. Web equivalents:

  • Windows High Contrast Mode (now "contrast themes")
  • prefers-contrast: more CSS media query

In these modes, the user has explicitly requested maximum contrast. Designs should:

  • Avoid relying on subtle color distinctions.
  • Ensure all text/background pairs hit AAA contrast.
  • Avoid background images or gradients that might obscure text.
  • Use strong, defined borders.
css
@media (prefers-contrast: more) {
  :root {
    --neutral-700: hsl(0 0% 0%);
    --background: hsl(0 0% 100%);
    --border: hsl(0 0% 0%);
    /* ...etc... */
  }
}

Forced colors mode

Some users (particularly with low vision or migraine sensitivity) override page colors entirely with system colors via Windows' Forced Colors Mode. The browser maps your colors to a small set of system tokens (Canvas, CanvasText, LinkText, ButtonText, ButtonFace, etc.).

In this mode:

  • Background images may be hidden.
  • Custom colors are overridden.
  • The page should still be usable.

Design implications:

  • Use <button> for buttons; the system colors map correctly.
  • Don't rely on background images for critical info.
  • Test in Forced Colors Mode (Edge: Settings → Accessibility → "High contrast").

Color and motion / animation

Color transitions can trigger photosensitive epilepsy if they flash rapidly (3+ Hz, especially with red). WCAG 2.3.1: no content flashes more than 3 times per second.

Design implications:

  • No strobing animations.
  • Loading spinners should rotate, not flash colors.
  • Auto-playing animations should respect prefers-reduced-motion.

Worked example: a fully accessibility-aware palette

css
:root {
  /* Light mode */
  --bg: hsl(0 0% 100%);
  --fg: hsl(220 6% 12%);          /* near-black; contrast 17:1 on white */
  --fg-muted: hsl(220 6% 40%);    /* 7.4:1 — passes AA body, AAA large */
  --primary: hsl(220 90% 45%);    /* 5:1 on white — AA body */
  --destructive: hsl(0 75% 40%);  /* 5.5:1 on white — AA body */
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: hsl(220 10% 9%);
    --fg: hsl(220 6% 92%);          /* 12:1 on dark */
    --fg-muted: hsl(220 6% 65%);    /* 5.5:1 — AA body */
    --primary: hsl(220 80% 65%);    /* tuned brighter for dark mode */
    --destructive: hsl(0 70% 60%);  /* tuned brighter for dark mode */
  }
}

@media (prefers-contrast: more) {
  :root {
    --fg: hsl(0 0% 0%);
    --bg: hsl(0 0% 100%);
    --fg-muted: hsl(0 0% 20%);
    /* etc. */
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

Anti-patterns

  • Color-only signals. Red asterisks for required fields with no * or "required." Color-blind users miss it.
  • Light grey body text that looks "elegant" in mockups but fails AA in production.
  • Dark mode by inversion. Pure inversion produces glare and saturation issues.
  • Ignoring prefers-contrast and forced-colors. Your design works for typical users but fails for users with explicit accessibility needs.
  • Status that depends on hue alone. Color-blind users can't distinguish red from green; pair with icon and text.

Heuristics

  1. Run a contrast checker. Every text/background pair, every UI/background pair. AA at minimum.
  2. Simulate color blindness. Chrome DevTools or a dedicated tool. Status systems that lean on red/green collapse here.
  3. Test in dark mode. Toggle the OS preference; check every page.
  4. Test with forced colors. Edge in High Contrast mode reveals what depends on color.
  5. The grayscale test. If the design works in grayscale, color is enhancement; if not, color is load-bearing and must satisfy accessibility constraints.

Related sub-skills

  • color (parent).
  • color-semantic-systems — building the semantic layer this skill makes accessible.
  • hierarchy-color-and-tone — using tone (not just hue) for hierarchy.
  • accessibility-perceivable (process) — covers color contrast and other perceivable concerns.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Color Accessibility And Mode AI skill do?

Use this skill when designing color systems that must satisfy accessibility requirements, work in both light and dark modes, support high-contrast preferences, and remain meaningful for users with color blindness or low vision. Trigger when picking text colors, designing for global compliance (WCAG, EAA, ADA), supporting dark mode, or auditing an existing palette for accessibility. Sub-aspect of `color`; read that first.

Why use Color Accessibility And Mode on TypingMind?

Because you install it once and use it with any model. Color Accessibility And Mode is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Color Accessibility And Mode in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Deibler/universal-design-principles/tree/main/plugins/perception-and-hierarchy-principles/skills/color-accessibility-and-mode. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Color Accessibility And Mode?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Color Accessibility And Mode?

As many as you like. As long as a model supports skills, you can use Color Accessibility And Mode with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Color Accessibility And Mode AI skill free?

It is published on GitHub by Deibler. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇