color-palette-generator

SkillMedia

Generates accessible, high-contrast, semantic design-system color tokens for light and dark modes.

Use color-palette-generator in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add color-palette-generator and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the color-palette-generator skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

color-palette-generatorStart free

What this skill tells your AI

The instructions your AI receives, as published by codebygarv/ai-skills in skills/ui-ux/color-palette-generator/SKILL.md and read by Ahel’s review.

Purpose

Generate cohesive, accessible, and theme-ready color palettes mapped into semantic design tokens (background, surface, text, border, primary, destructive, warning, success) for light and dark modes with guaranteed WCAG contrast ratios.

When to Use

  • Bootstrapping a new brand design system or UI component library.
  • Implementing dark mode on an existing light-only website.
  • Fixing accessibility color contrast failures across text and interactive elements.

What to Analyze

  1. Brand Primaries: Core brand identity hue and saturation.
  2. Perceptual Uniformity: Using OKLCH or HSL for balanced lightness steps (50 to 950).
  3. WCAG Compliance: Minimum 4.5:1 contrast for normal text (AA) and 7:1 for AAA on all surface pairs.
  4. Semantic Token Mapping: Decoupling raw colors (blue-500) from semantic intents (bg-surface-elevated, text-secondary).
  5. Dark Mode Inversion: Shifting surface lightness and desaturating vibrant accent colors for reduced eye strain.

Output Format

  • Color Token Table: Raw color scale steps (50, 100, 200 ... 950).
  • Semantic CSS Variables: Light and Dark mode :root variables.
  • Contrast Proof: WCAG contrast ratio score for each text/background pairing.

Avoid

  • Hardcoding raw hex values in individual component styles.
  • Creating dark modes that use pure #000000 black without subtle neutral grays for elevation.

Signals

GitHub stars
26
Forks
1
Last commit
Aug 2026
Advanced
Item type
skill
Key
color-palette-generator-codebygarv
Source
github.com/codebygarv/ai-skills