Color Theory logo

Color Theory

Community
flitzrrr
color-theory

Color models, palettes, contrast, color psychology, color harmonies, and dark mode for web projects. Defines the 60-30-10 rule, semantic color coding, design tokens, and WCAG contrast requirements.

Overview

Publisherflitzrrr
Repositoryfrontend-design-skills
Skill namecolor-theory
Stars
9
Forks
2
Bundled files
1
LicenseMIT
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 flitzrrr on GitHub. Read the source before you install it.

Installation

Install the Color Theory 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/flitzrrr/frontend-design-skills/tree/main/skills-src/color-theory
  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/flitzrrr/frontend-design-skills.git /tmp/frontend-design-skills
mkdir -p .claude/skills
cp -r /tmp/frontend-design-skills/skills-src/color-theory .claude/skills/color-theory
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Color Theory 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 Theory 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 Theory 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 Theory

Systematic color design -- from strategic color selection to accessible dark mode.

Scope

Use this skill when: You are defining color schemes, building palettes, checking contrasts, designing dark mode, establishing semantic colors, creating design tokens for colors, or auditing existing color concepts for quality.

Principles

1. Colors Are Communication -- Not Decoration

Every color conveys a message. Color selection is a strategic decision.

2. Fewer Colors -- Stronger Impact

2-4 colors are sufficient for 95% of all projects. Primary color + accent color + neutral tones.

3. Contrast Is Mandatory

Without sufficient contrast, colors are ineffective. Contrast determines readability, hierarchy, and accessibility.

4. Consistency Across All Channels

Colors must appear identical everywhere. This requires a defined color system with named tokens.

5. Color for Function, Not Just Mood

Colors indicate status (red = error, green = success), signal interactivity, and mark relationships.

Rules

Building a Color Scheme

  • DO: Minimal scheme: 1 primary color + 1 accent color + 3-5 neutral tones.
  • DO: Create gradations of each color in 9-11 steps (50-950).
  • DO: Define semantic colors: success (green), warning (orange), error (red), info (blue).
  • DO: Use color harmonies as a starting point: complementary, analogous, or triadic.
  • DON'T: Use randomly chosen colors. Each one needs justification (brand, function, emotion).
  • DON'T: Use more than 5 chromatic colors (excluding neutral tones).

Color Models & Formats

  • DO: Work internally with HSL (more intuitive for systematic gradations).
  • DO: Use oklch() in modern CSS for perceptually uniform gradations.
  • DON'T: Use CMYK on the web. CMYK is for print.

Contrast & Readability

  • DO: Normal text (< 24px): at least 4.5:1 (WCAG AA).
  • DO: Large text (>= 24px / >= 18.66px bold): at least 3:1 (WCAG AA).
  • DO: UI components (icons, borders, focus): at least 3:1.
  • DO: Simulate and test for color vision deficiency (protanopia, deuteranopia, tritanopia).
  • DON'T: Use color as the ONLY differentiator. Always provide a second signal (icon, text, shape).
  • DON'T: Use light pastel tones on white backgrounds for text or interactive elements.

Color Psychology & Impact

  • DO: Choose the primary color to match the industry:
    • Blue: Trust (finance, tech, healthcare)
    • Green: Nature, growth (organic, sustainability)
    • Red: Energy, urgency (food, sales)
    • Black: Premium (luxury, fashion)
    • Orange/Yellow: Optimism (startups, education)
    • Purple: Creativity (creative industries, wellness)
  • DO: Consider cultural differences for international projects.
  • DON'T: Work against industry expectations without a deliberate differentiation strategy.

Dark Mode

  • DO: Design dark mode as an independent color scheme, not an inversion.
  • DO: Use muted primary colors (less saturation, medium brightness).
  • DO: Background: dark gray (#121212 to #1E1E1E), NOT pure black (#000).
  • DO: Text: #E0E0E0 instead of #FFFFFF.
  • DON'T: Use saturated bright colors on dark backgrounds -- they "glow."

Design Tokens

  • DO: Two-tier system: primitive tokens (--blue-500) + semantic tokens (--color-primary).
  • DO: Use exclusively semantic tokens in components.
  • DON'T: Use HEX values directly in component CSS.

Patterns

Detailed pattern descriptions: see references/patterns.md

60-30-10 Rule

60% dominant color (background) + 30% secondary (cards, navigation) + 10% accent (CTAs, highlights).

Monochromatic Scheme

One color in 5-7 gradations. Accent through a single contrasting color for CTAs.

Complementary Contrast

Two opposing colors. Never equally weighted -- one dominates (60-30-10).

Semantic Color Coding

Green = success, red = error, orange = warning, blue = information. These associations are established cross-culturally and are NOT reinterpretable.

Anti-Patterns

Rainbow Design

Too many colors without a system. Solution: 60-30-10 rule. Max. 5 chromatic colors.

Color as the Only Signal

Red = error without icon or text. Solution: Always provide a redundant signal alongside color.

Blindly Adopting Trend Colors

Trend color as primary without fit. Solution: Use trends as inspiration, brand values as the decision basis.

Ignoring Contrast Violations

"Looks fine to me" instead of objective verification. Solution: Check every combination with a tool (WebAIM, Chrome DevTools).

Dark Mode as Inversion

Swapping black and white. Solution: Independent scheme with adjusted saturation and brightness.

Checklist

  • Color scheme defined: primary + accent + neutrals + semantic?
  • Max. 5 chromatic colors?
  • 60-30-10 rule applied?
  • All text-background combinations WCAG AA (4.5:1 normal, 3:1 large)?
  • UI component contrast at least 3:1?
  • Color vision deficiency tested?
  • Color never used as the only signal?
  • Design tokens defined (primitive + semantic)?
  • No HEX values directly in components?
  • Dark mode as an independent scheme?
  • Dark mode background #121212-#1E1E1E (not #000)?
  • Color psychology appropriate for the industry?

Cross-References

  • ui-design -- Color as a hierarchy tool in layout
  • web-typography -- Text color and contrast ratios
  • accessibility -- WCAG contrast requirements in detail
  • branding-identity -- Color as brand identity
  • visual-direction -- Current color trends
  • design-trends -- Color trends from award-winning websites

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 Theory AI skill do?

Color models, palettes, contrast, color psychology, color harmonies, and dark mode for web projects. Defines the 60-30-10 rule, semantic color coding, design tokens, and WCAG contrast requirements.

Why use Color Theory on TypingMind?

Because you install it once and use it with any model. Color Theory 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 Theory in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/flitzrrr/frontend-design-skills/tree/main/skills-src/color-theory. 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 Theory?

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 Theory?

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

Is the Color Theory AI skill free?

Yes. It is published on GitHub by flitzrrr under the MIT license. 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 👇