Agent skill

Color Expert Skill: OKLCH, Palettes and Contrast for AI Agents

Color Expert gives an AI coding agent a color science knowledge base, so palettes, ramps, contrast checks and CSS color syntax come from OKLCH and measured rules instead of guesses.

Install
git clone https://github.com/meodai/skill.color-expert ~/Sites/color-expert
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the Color Expert skill?

Color Expert is an agent skill by meodai that adds color science to a coding agent. Its SKILL.md covers color spaces, OKLCH ramps, gamut mapping, WCAG and APCA contrast, harmony and pigment mixing, and points to 185 reference files for deeper questions on palettes and color naming.

Color Expert is a skill from the skill.color-expert repo that turns a coding agent into a color specialist. The author built it from resources he kept looking up: articles, talks, libraries and historical color texts.

It has three layers. SKILL.md holds the key facts the agent loads at once. references/INDEX.md maps one line per file. The references folder holds the deeper material, counted in the README at 185 markdown files.

What changes in the agent's output

  • Perceptual work uses OKLCH or OKLAB rather than HSL, whose lightness the skill calls misleading for perceptual tasks.
  • Ramps for design systems follow a token chain: reference palette, semantic roles, then component usage.
  • Every text and background pair is checked against WCAG or APCA, in light and dark themes.
  • Chroma is reduced, not lightness or hue, when a color falls outside the target gamut.
  • Palette requests get several generation methods with trade-offs before the agent narrows to one.

Who the Color Expert skill is for

Best for

  • Building a design token set or a light and dark theme with accessible contrast.
  • Writing palette generators, gradients or color conversion code.
  • Answering color questions such as why a gradient turns gray in the middle.
  • Generative art and creative coding where color technique matters.

Not for

  • A visual picker. It advises and writes code; it does not draw a UI.
  • Layout, type or motion. Pair it with a design system skill for the structure around the colors.
  • A one-line brand color pick with no context. The skill asks about medium, mood and constraints first.

Use it with UiChemy

Use Color Expert to settle the palette and tokens before a build. When the design is ready for WordPress, UiChemy Figma to WordPress converts a Figma design into an editable page. Click Get Started on uichemy.com.