← Back to Skills Marketplace
darbling

Color Convert

by darbling · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
52
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install color-convert
Description
Convert colors between HEX, RGB, HSL, HSV, CMYK, generate palettes, check WCAG contrast, and export CSS variables using pure Python.
README (SKILL.md)

🎨 Color Toolkit

Author: Lin Hui | GitHub | MIT License | v1.0.0

Every color tool you need. Convert between formats, generate harmonious palettes, check accessibility contrast, and export CSS variables.

✨ Features

  • Convert — HEX ↔ RGB ↔ HSL ↔ HSV ↔ CMYK
  • Palettes — Complementary, analogous, triadic, split-complementary, shades/tints
  • Contrast — WCAG 2.1 contrast ratio and AA/AAA compliance
  • Named colors — 148 CSS named colors lookup
  • CSS export — Generate CSS custom properties from any palette
  • Random — Generate random harmonious palettes

🚀 Usage

Convert #FF5733 to HSL
Generate a complementary palette for #3498DB
Check WCAG contrast ratio between #FFFFFF and #333333
Show me 5 shades of #E74C3C from light to dark
Generate a triadic color scheme and export as CSS variables

⚙️ Technical Details

  • Runtime: Python 3.6+
  • Dependencies: Zero (stdlib only: math, random, colorsys)
  • Formats: HEX, RGB, HSL, HSV, CMYK
  • Standards: WCAG 2.1 contrast ratio (AA 4.5:1, AAA 7:1)
Usage Guidance
This skill appears to be a straightforward, self-contained Python color toolkit. If you plan to use it, run it in an environment with Python 3.6+; review the included script if you have strict policies (it contains no network or file-write behavior). As with any third-party code, prefer running in a sandboxed environment if you don't trust the source and verify the license and source URL before deploying broadly.
Capability Analysis
Type: OpenClaw Skill Name: color-convert Version: 1.0.0 The color-convert skill is a legitimate utility for color space conversion, palette generation, and WCAG contrast checking. The implementation in `scripts/color_tool.py` uses only Python standard libraries (math, colorsys, random) and contains no network access, file system operations, or shell execution logic. The documentation in `SKILL.md` is consistent with the code and lacks any malicious prompt injection attempts.
Capability Assessment
Purpose & Capability
Name/description, SKILL.md, and the included Python script all implement color conversions, palette generation, WCAG contrast checks, and CSS export; nothing requested (no env vars, no binaries) is unrelated to that purpose.
Instruction Scope
SKILL.md describes local usage examples and the script's CLI. The instructions do not ask the agent to read unrelated system files, query external services, or exfiltrate data; the script only parses input colors and prints results.
Install Mechanism
No install spec provided; the skill is instruction-only with one included Python script. The script declares no third-party dependencies and uses only stdlib modules (math, random, colorsys, re, argparse).
Credentials
The skill requires no environment variables, credentials, or config paths. The Python script doesn't access environment variables or credentials, so requested access is minimal and proportional.
Persistence & Privilege
always:false (default) and autonomous invocation allowed (platform default). The skill does not request persistent system changes or modify other skills' configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install color-convert
  3. After installation, invoke the skill by name or use /color-convert
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of color-toolkit – a comprehensive Python tool for all your color needs: - Convert between HEX, RGB, HSL, HSV, and CMYK. - Generate color palettes: complementary, analogous, triadic, split-complementary, and shades/tints. - Check WCAG 2.1 contrast ratio with AA/AAA compliance. - Lookup from 148 CSS named colors. - Export palettes as CSS custom properties. - All features implemented in pure Python with zero dependencies.
Metadata
Slug color-convert
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Color Convert?

Convert colors between HEX, RGB, HSL, HSV, CMYK, generate palettes, check WCAG contrast, and export CSS variables using pure Python. It is an AI Agent Skill for Claude Code / OpenClaw, with 52 downloads so far.

How do I install Color Convert?

Run "/install color-convert" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Color Convert free?

Yes, Color Convert is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Color Convert support?

Color Convert is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Color Convert?

It is built and maintained by darbling (@darbling); the current version is v1.0.0.

💬 Comments