Color Theoryのロゴ

Color Theory

コミュニティ
flitzrrr
color-theory

Webプロジェクトにおけるカラーモデル、パレット、コントラスト、色彩心理、配色、ダークモードを扱います。60-30-10ルール、セマンティックカラーの割り当て、デザイントークン、WCAGのコントラスト要件を定めています。

Add to TypingMind

概要

公開者flitzrrr
リポジトリfrontend-design-skills
スキル名color-theory
スター
9
フォーク
2
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    flitzrrrがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Color Theory」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/flitzrrr/frontend-design-skills/tree/main/skills-src/color-theory
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでColor Theoryを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にColor Theoryを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Color Theoryは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Color Theory」では何ができますか?

Webプロジェクトにおけるカラーモデル、パレット、コントラスト、色彩心理、配色、ダークモードを扱います。60-30-10ルール、セマンティックカラーの割り当て、デザイントークン、WCAGのコントラスト要件を定めています。

TypingMindでColor Theoryを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Color Theoryはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにColor Theoryをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/flitzrrr/frontend-design-skills/tree/main/skills-src/color-theoryを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Color Theoryを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Color Theoryで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもColor Theoryを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Color Theory」は無料ですか?

はい。flitzrrrがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇