/install color-toolkit
Color Toolkit
Convert colors, check WCAG contrast, generate palettes, and manipulate colors. Pure Python, no dependencies.
Quick Start
# Convert between formats (accepts #hex, rgb(), hsl(), CSS names, or r,g,b)
python3 scripts/color_toolkit.py convert '#ff6347'
python3 scripts/color_toolkit.py convert tomato
python3 scripts/color_toolkit.py convert 'rgb(52, 152, 219)'
# WCAG contrast check
python3 scripts/color_toolkit.py contrast '#333333' '#ffffff'
# Generate palettes
python3 scripts/color_toolkit.py palette '#3498db' -s triadic
python3 scripts/color_toolkit.py palette '#e74c3c' -s monochromatic -n 7
# Modify colors
python3 scripts/color_toolkit.py modify '#3498db' --op lighten --amount 20
python3 scripts/color_toolkit.py modify coral --op darken --amount 15
# Mix colors
python3 scripts/color_toolkit.py mix '#ff0000' '#0000ff' --weight 0.5
# Random colors
python3 scripts/color_toolkit.py random -n 5
# Search CSS named colors
python3 scripts/color_toolkit.py lookup green
Commands
| Command | Description |
|---|---|
convert |
Convert any color to HEX, RGB, HSL, HSV, and CMYK. |
contrast |
WCAG contrast ratio between foreground and background. Reports AA/AAA compliance. |
palette |
Generate palettes: complementary, analogous, triadic, split-complementary, monochromatic. |
modify |
Adjust color: lighten, darken, saturate, desaturate. --amount 0-100. |
mix |
Blend two colors. --weight controls the ratio (0.0 = all color1, 1.0 = all color2). |
random |
Generate random colors. -n sets count. |
lookup |
Search CSS named colors by partial name. |
All commands support --json for structured output.
Accepted Color Formats
#hex (3 or 6 digit), rgb(r, g, b), hsl(h, s%, l%), r,g,b, or any CSS color name (e.g., tomato, steelblue, coral).
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install color-toolkit - After installation, invoke the skill by name or use
/color-toolkit - Provide required inputs per the skill's parameter spec and get structured output
What is Color Toolkit?
Convert, analyze, and generate colors from the CLI. Supports HEX, RGB, HSL, HSV, CMYK conversion, WCAG contrast ratio checking (AA/AAA compliance), palette g... It is an AI Agent Skill for Claude Code / OpenClaw, with 139 downloads so far.
How do I install Color Toolkit?
Run "/install color-toolkit" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Color Toolkit free?
Yes, Color Toolkit is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Color Toolkit support?
Color Toolkit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Color Toolkit?
It is built and maintained by John Wang (@johnnywang2001); the current version is v1.0.0.