← Back to Skills Marketplace
johnnywang2001

Color Toolkit

by John Wang · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
139
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install color-toolkit
Description
Convert, analyze, and generate colors from the CLI. Supports HEX, RGB, HSL, HSV, CMYK conversion, WCAG contrast ratio checking (AA/AAA compliance), palette g...
README (SKILL.md)

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).

Usage Guidance
The skill appears coherent and implements a local Python color toolkit with no strange permissions or network calls in the visible code. However, the provided script was truncated in the submission — you should inspect the full scripts/color_toolkit.py file before installing or running. Steps to reduce risk: (1) open the complete file and search for imports like urllib, requests, socket, subprocess, os.system or any code that reads files outside its scope; (2) verify the file length matches the declared size and there is no appended/obfuscated payload; (3) run the script in an isolated environment (container or VM) if you plan to execute it; (4) optionally run a linter/static analyzer to surface hidden issues. If the full file matches the excerpt and contains no networking/subprocess/file-exfiltration logic, the skill is reasonable to use.
Capability Analysis
Type: OpenClaw Skill Name: color-toolkit Version: 1.0.0 The color-toolkit skill is a standard utility for color conversion, WCAG contrast analysis, and palette generation. The implementation in scripts/color_toolkit.py relies exclusively on the Python standard library, containing no network requests, file system access, or dangerous execution sinks. The SKILL.md instructions are well-defined and align perfectly with the tool's stated purpose.
Capability Assessment
Purpose & Capability
Name/description match the included artifacts: the SKILL.md documents a CLI Python tool and the repository contains a Python script implementing color parsing, conversion, contrast checks, palette generation and manipulation. The requested surface (no env vars, no binaries, no installs) is proportional to the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the bundled Python script with straightforward CLI arguments; the instructions do not request reading unrelated files, environment variables, or contacting remote endpoints. However, the presented script output is truncated near the end, so it's not possible to fully confirm there are no extra runtime behaviors beyond what's shown.
Install Mechanism
No install spec is present (instruction-only), and the code claims to be pure Python with no external dependencies. This is low-risk and proportionate for a small CLI utility.
Credentials
The skill declares no required environment variables, credentials, or config paths, and the visible code does not access environment variables or secret-containing paths. This is proportionate for the described functionality.
Persistence & Privilege
Skill is not set to always: true and uses normal, user-invocable/autonomous invocation defaults. It does not request elevated persistence or modify other skills/configs in the visible content.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install color-toolkit
  3. After installation, invoke the skill by name or use /color-toolkit
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of color-toolkit. - Convert colors between HEX, RGB, HSL, HSV, and CMYK formats from the command line. - Check WCAG contrast ratio and AA/AAA compliance for accessibility. - Generate color palettes: complementary, analogous, triadic, split-complementary, and monochromatic. - Manipulate colors (lighten, darken, saturate, desaturate), mix colors, and generate random colors. - Search for CSS named colors and look up their values. - Pure Python implementation with zero external dependencies.
Metadata
Slug color-toolkit
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

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.

💬 Comments