Skip to content
Back to skills

Color Master

ASecurity

Convert colors between formats (HEX, RGB, HSL, CMYK, LAB, LCH, oklch, ANSI), generate color harmonies (complementary, triadic, analogous), check accessibility (WCAG contrast), and simulate color blindness. Use when working with colors, design systems, CSS themes.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
designgobash

Works with

  • terminal

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill color-master --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Color Master?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Color Master
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-color-master/badge)](https://www.skillsdirectory.com/skills/david-li0406-color-master)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: color-master
description: Convert colors between formats (HEX, RGB, HSL, CMYK, LAB, LCH, oklch, ANSI), generate color harmonies (complementary, triadic, analogous), check accessibility (WCAG contrast), and simulate color blindness. Use when working with colors, design systems, CSS themes.
---

# Color Master

Color conversion, harmony generation, and accessibility checking.

## Setup

```bash
cd <color-master skill directory> && bun install
```

## Usage

```bash
cd <color-master skill directory> && bun run scripts/color.ts <command> <args>
```

## Commands

### convert - Convert to all formats

```bash
bun run scripts/color.ts convert "#f7931a"
bun run scripts/color.ts convert "oklch(0.75 0.16 55)"
```

### harmony - Generate color harmonies

Types: `complementary`, `triadic`, `analogous`, `split-complementary`, `tetradic`, `monochromatic`

```bash
bun run scripts/color.ts harmony "#f7931a" triadic
```

### tints / shades / palette - Generate variations

```bash
bun run scripts/color.ts tints "#f7931a" 5      # lighter
bun run scripts/color.ts shades "#f7931a" 5     # darker
bun run scripts/color.ts palette "#f7931a" 10   # full range
```

### contrast - WCAG accessibility check

```bash
bun run scripts/color.ts contrast "#f7931a" "#ffffff"
```

Returns contrast ratio and WCAG AA/AAA pass/fail status.

### colorblind - Color blindness simulation

```bash
bun run scripts/color.ts colorblind "#f7931a"
```

Simulates: protanopia, deuteranopia, tritanopia, achromatopsia.

### preview / batch-preview - Terminal preview

```bash
bun run scripts/color.ts preview "#f7931a"
bun run scripts/color.ts batch-preview "#f7931a" "#3b82f6" "oklch(0.5 0.2 30)"
bun run scripts/color.ts batch-preview --types=hex,rgb,oklch "#f7931a" "#3b82f6"
```

### terminfo - Detect terminal color capability

```bash
bun run scripts/color.ts terminfo
```

## Supported Formats

HEX, RGB, RGBA, HSL, HSLA, HSV, CMYK, LAB, LCH, oklch, oklab, ANSI 16/256.

See [references/formats.md](references/formats.md) for full format details and ANSI color names.

Files in this skill

  • SKILL.md2 KB
  • package.json267 B
  • references/formats.md2.2 KB
  • scripts/color.ts30.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…