Better Colors logo

Better Colors

Community
hsynozdamar-byte
better-colors

Color systems: ramps, semantic tokens, dark mode, gradients, OKLCH and contrast. Use when choosing or changing colors, generating a palette from a brand color, or checking a color pair.

Overview

Publisherhsynozdamar-byte
Repositoryclaude-skills-edited
Skill namebetter-colors
Stars
63
Forks
1
Bundled files
6
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.

  • 6 bundled files

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

  • Open source

    Published by hsynozdamar-byte on GitHub. Read the source before you install it.

Installation

Install the Better Colors 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/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-colors
  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/hsynozdamar-byte/claude-skills-edited.git /tmp/claude-skills-edited
mkdir -p .claude/skills
cp -r /tmp/claude-skills-edited/skills/better-colors .claude/skills/better-colors
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Better Colors 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 Better Colors 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 Better Colors 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.

Colors

A color system is a few ramps, named by role and checked against the backgrounds they actually render on. Colors have exact answers: compute them with a library (culori, colorjs.io, chroma.js) and never report a contrast value you didn't measure.

Contrast minimums are not style; better-accessibility owns when a pair must pass.

Defaults

  • Notation. Reuse the project's notation. A hex codebase stays hex; don't drop one oklch() into it. For a new system, oklch() is the best default because its lightness steps evenly and its hue holds.
  • Ramps. One neutral ramp (carries 80 to 90% of the UI), one accent ramp, and only the status ramps the product renders. A second accent hue earns its place only when two things must be told apart at a glance.
  • Every step has a role: page bg, component bg, hover, border, focus ring, solid fill, fill hover, low- and high-contrast text. Don't generate steps nothing uses. Role mapping for Tailwind 50-950 and Radix 1-12 is in references/ramps.md.
  • Two token tiers. Primitives name a value (--blue-500) and never appear in components. Semantics name a job (--color-text-secondary) and are the only tier components use. That seam is what makes theming possible. Naming grammar in references/tokens.md.
  • Use a token only in its role. Never borrow a separator as a text color because it looks right today; add the missing token.
  • One color, one meaning. Hues within about 15° read as the same color. If the accent means interactive, don't put it on static text, and don't render an interactive element neutral.
  • One filled action per view when fill encodes emphasis. Color goes on the background, not the label. Several colored fills are fine when they encode distinct states or categories.

A well-formed ramp

  • Even steps in perceived lightness, not HSL lightness (HSL ramps bunch and drift in hue).
  • Constant hue end to end.
  • Vividness (chroma) peaks mid-ramp and falls toward both ends.
  • Denser at the light end: 50/100/200 close together, 800-950 further apart, so 50 and 100 still read as two surfaces.
  • Both ends stop short of pure black and white.
  • Across hues, match lightness exactly per step and match chroma as a proportion of each hue's own max. Copying one chroma number leaves yellow and cyan weak.
  • Brand color goes on the solid-fill step (500 / 9). If it fails contrast with white text, keep it as is and use a darker step for interactive fills. Never quietly darken the brand.

Gotchas

  • Dark mode is not the light ramp reversed. Reverse as a start, then lower chroma a step or two, widen separation at the dark end, and remeasure every pair (contrast is not symmetric).
  • One switching mechanism. prefers-color-scheme alone without a toggle; a .dark class once users can override; light-dark() needs color-scheme set. Mixing them half-themes the UI.
  • Fix contrast with lightness, not hue. Hold hue and chroma, move L, remeasure.
  • Measure against the real background: the card, not the page; worst region of an image or gradient; both themes; translucent surfaces against the lightest and darkest content behind them. color-mix(), relative color and /50 alpha resolve at render time, so measure the result.
  • P3 needs an sRGB fallback first, then override inside @media (color-gamut: p3). Out-of-gamut colors clip and flatten neighboring steps.
  • Gradient space is a look. in oklab is the even default; in oklch stays vivid but can sweep through unwanted hues; plain sRGB muddies the midpoint. Opposite hues go gray in a rectangular space: use oklch or add a middle stop.
  • Status hue must differ from the accent. A red brand needs danger moved toward crimson and checked side by side.
  • When a pair fails, report it (pair, measured value, threshold missed) and leave the colors alone unless asked. They are a design decision.

References

Reporting

Severity: HIGH makes content unreadable or gives a misleading semantic color; MEDIUM is a theme, token or gamut failure; LOW is polish. One row per root cause, ordered by severity:

SeverityLocationBeforeAfterWhy

Location is file:line. Mark anything you could not check as Not verified. End with Block if any HIGH remains, otherwise Approve. With nothing to report, say "No actionable color findings".

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

Color systems: ramps, semantic tokens, dark mode, gradients, OKLCH and contrast. Use when choosing or changing colors, generating a palette from a brand color, or checking a color pair.

Why use Better Colors on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-colors. 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 Better Colors?

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 Better Colors?

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

Is the Better Colors AI skill free?

It is published on GitHub by hsynozdamar-byte. 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 👇