Logo von Colormason

Colormason

Community
vladzima
colormason

Generates a complete color system from a single brand color - perceptually even OKLCH ramps (50-950) plus WCAG-checked semantic design tokens (backgrounds, text, borders, focus ring) with light/dark values - via a zero-dependency local Python script. Use when starting or restyling a project's colors, generating design tokens or a Tailwind theme from a brand hex, building a light/dark palette, picking accessible UI colors, or when the user mentions color palette, design tokens, theme colors, brand color, OKLCH, or WCAG color contrast.

Übersicht

Herausgebervladzima
Repositorycolormason
Skill-Namecolormason
Sterne
3
Forks
0
Mitgelieferte Dateien
3
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 3

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von vladzima auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Colormason in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/vladzima/colormason/tree/main/colormason
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vladzima/colormason.git /tmp/colormason
mkdir -p .claude/skills
cp -r /tmp/colormason/colormason .claude/skills/colormason
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Colormason in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Colormason automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Colormason nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

colormason

Turn one brand hex into a full, consistent, accessible color system: 8 ramps (11 steps each) and ~45 semantic tokens with light/dark values, emitted as CSS variables, Tailwind v4 theme, JSON, or Markdown. Fully deterministic and offline - never invent palette hex values by hand when this skill is available.

When to use

  • New project or rebrand needs a color system / theme file
  • User gives a brand color and asks for a palette, tokens, or theme
  • Building or fixing light/dark mode colors
  • Tailwind @theme, CSS variables, or design-token file needs generating
  • Checking or repairing color contrast (WCAG AA/AAA) in a token set

Do not use for one-off decorative colors (a single gradient, an illustration), for pinning colors that must match an existing system exactly (use that system's values verbatim instead), or when the project already has a token file - extend it, don't generate a competing one.

Inputs to collect first

  1. Brand hex (required). Ask the user, or extract from a logo / existing CSS. Any hex works; near-neutral brands (grays) produce a warning because accent hues become arbitrary - suggest pinning accents in that case.
  2. Scheme (default complementary): complementary, analogous, triadic, split, monochromatic. Pick analogous for calm/conservative brands, triadic for playful, complementary for max accent distinction.
  3. Scope (default full): basic drops the accent ramps (keeps primary, neutral, status colors).
  4. WCAG target (default AA): use AAA for text-heavy or government/health products.
  5. Pins (optional): exact --accent / --accent-2 hexes when the brand system already specifies secondary colors.

If the user hasn't decided, do not interview them - run the defaults and offer the knobs after showing output.

Procedure

  1. Run the generator (script is relative to this skill's directory):

    bash
    python3 scripts/palette.py --brand 3d7dff --format css
  2. Pick the format for the target project:

    • css - plain CSS custom properties (default; works everywhere)
    • tailwind - Tailwind v4 @theme + @theme inline blocks with light/dark variables
    • json - machine-readable; use when feeding a token pipeline
    • markdown - human-readable summary for review/discussion
  3. Write the output to the project (e.g. src/theme.css or into the main CSS file / Tailwind entry). Do not rename tokens downstream - other tools and agents may rely on the exact contract in references/tokens.md.

  4. Report to the user: brand, scheme, target, any warnings from stderr, and the two or three token pairs that were auto-adjusted (visible in JSON as contrast.*.adjusted: true).

Rules

  • Use semantic tokens (--bg-canvas, --text-primary, ...) in UI code, not raw ramp steps. Raw steps bypass the light/dark mapping and the contrast checking, so components break in dark mode or fail WCAG.
  • Never hand-edit generated hex values. Each foreground/background pair is contrast-verified; a "small tweak" silently breaks the verified ratio. Regenerate with different inputs instead (scheme, pins, target).
  • The brand hex will not appear verbatim in the ramps. Steps sit on a fixed OKLCH lightness ladder so the scale stays perceptually even. This is expected - use the ramp values, not the original input. If the user insists on exact brand reproduction, primary-500 is the nearest step.
  • bg-surface-raised equals bg-surface in light mode by design - in light mode, elevation must read through shadow, not tone. Add a shadow there instead of "fixing" the token.
  • text-disabled is intentionally below WCAG minimums (disabled controls are exempt). The exemption does not extend to real text - use text-tertiary for low-emphasis but readable copy.
  • Warnings mean what they say. If a pair cannot reach the target at any ramp step (common for AAA on colored buttons), either accept it, lower the target for that pair, or pin a darker accent. Do not silence it.

Edge cases

  • Gray/neutral brand: script warns; recommend --accent/--accent-2 pins.
  • Existing brand has secondary colors: pass them as pins so the palette matches instead of deriving.
  • User wants fewer ramps (no info color, etc.): --exclude info also drops every token that references the excluded ramp.
  • AAA on white-on-brand labels is physically unreachable on most hues; the script keeps the best step and emits a warning rather than breaking the design.

References

  • references/tokens.md - full token contract: every token name, ramp, light/dark steps, role. Read this when writing components against a colormason palette.
  • references/integration.md - wiring output into Tailwind v3/v4, plain CSS, CSS-in-JS, and shadcn-style variable themes.
  • python3 scripts/palette.py --help - all options.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Colormason?

Generates a complete color system from a single brand color - perceptually even OKLCH ramps (50-950) plus WCAG-checked semantic design tokens (backgrounds, text, borders, focus ring) with light/dark values - via a zero-dependency local Python script. Use when starting or restyling a project's colors, generating design tokens or a Tailwind theme from a brand hex, building a light/dark palette, picking accessible UI colors, or when the user mentions color palette, design tokens, theme colors, brand color, OKLCH, or WCAG color contrast.

Warum Colormason in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Colormason besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Colormason in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/vladzima/colormason/tree/main/colormason ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Colormason nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Colormason verwenden?

So viele Sie möchten. In TypingMind können Sie Colormason mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Colormason kostenlos?

Ja. Der Skill wird von vladzima auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇