← Back to Skills Marketplace
bytesagain3

Colorlab

by bytesagain3 · GitHub ↗ · v3.0.0 · MIT-0
cross-platform ✓ Security Clean
325
Downloads
0
Stars
1
Active Installs
8
Versions
Install in OpenClaw
/install colorlab
Description
Convert colors and generate palettes with WCAG contrast checks. Use when building palettes, converting hex/RGB, checking accessibility.
README (SKILL.md)

ColorLab — Color Tool

Convert colors, generate palettes, check WCAG contrast ratios, and find closest CSS color names. Uses printf and awk for calculations, with ANSI 24-bit color swatches in terminal output.

Commands

Command Description
hex-to-rgb \x3Chex> Convert hex color to RGB values
rgb-to-hex \x3Cr> \x3Cg> \x3Cb> Convert RGB values (0-255) to hex
contrast \x3Chex1> \x3Chex2> Calculate WCAG 2.0 contrast ratio with AA/AAA pass/fail ratings
palette \x3Chex> [count] Generate lighter and darker variants of a color (default: 5 each direction)
random [count] Generate random colors with hex and RGB values (default: 1)
name \x3Chex> Find the closest named CSS color (from ~50 common colors)

Examples

# Convert hex to RGB
colorlab hex-to-rgb "#FF5733"    # → rgb(255, 87, 51)

# Convert RGB to hex
colorlab rgb-to-hex 255 87 51    # → #FF5733

# Check contrast for accessibility
colorlab contrast "#FFFFFF" "#000000"
# → 21.00:1, WCAG AA/AAA all pass

# Generate a palette
colorlab palette "#3498db" 3
# → Shows 3 darker + base + 3 lighter variants with color swatches

# Random colors
colorlab random 5

# Find closest CSS color name
colorlab name "#e74c3c"          # → Crimson

Notes

  • Hex colors accept # prefix (optional) and 3-digit shorthand (#F00#FF0000)
  • WCAG contrast checks report AA/AAA compliance for normal and large text
  • Palette output includes ANSI 24-bit color swatches (requires a modern terminal)
  • Color naming uses Euclidean distance in RGB space against ~50 common CSS color names
Usage Guidance
This skill appears coherent and local-only: it bundles a bash script that performs color math and prints results. Before installing, you may (1) inspect scripts/script.sh yourself (it is short and readable), (2) run it in a restricted environment or container if you prefer, and (3) note that ANSI 24-bit swatches require a modern terminal. No credentials or network access are requested.
Capability Analysis
Type: OpenClaw Skill Name: colorlab Version: 3.0.0 The ColorLab skill is a legitimate utility for color conversion, WCAG contrast checking, and palette generation. The bash script (scripts/script.sh) uses standard tools like awk and printf for mathematical calculations and color formatting without any evidence of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description match the provided SKILL.md and the included scripts/script.sh implements hex↔RGB conversion, WCAG contrast calculation, palette generation, random colors, and nearest CSS name lookup — all expected for a color tool.
Instruction Scope
SKILL.md instructs local CLI commands and examples. The runtime script only reads its arguments, performs local calculations (awk/printf), and prints output (including ANSI swatches). It does not read unrelated files or environment variables.
Install Mechanism
No install spec (instruction-only with a bundled script). No downloads, package installs, or archive extraction are present — lowest-risk install profile.
Credentials
No required environment variables, credentials, or config paths. The script does not access or exfiltrate secrets or external services.
Persistence & Privilege
Skill is not always-enabled, has no special persistence or system-wide configuration changes, and does not modify other skills or agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install colorlab
  3. After installation, invoke the skill by name or use /colorlab
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.0.0
v3.0.0: Complete rewrite with real functionality.
v2.0.1
update
v2.0.0
v2.5 standard: Use-when desc, homepage, source, security fix
v1.0.4
retry-fix-token
v1.0.3
old template -> domain-specific v2.0.0
v1.0.2
Quality upgrade
v1.0.1
Quality upgrade: custom functionality
v1.0.0
Initial release
Metadata
Slug colorlab
Version 3.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 8
Frequently Asked Questions

What is Colorlab?

Convert colors and generate palettes with WCAG contrast checks. Use when building palettes, converting hex/RGB, checking accessibility. It is an AI Agent Skill for Claude Code / OpenClaw, with 325 downloads so far.

How do I install Colorlab?

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

Is Colorlab free?

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

Which platforms does Colorlab support?

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

Who created Colorlab?

It is built and maintained by bytesagain3 (@bytesagain3); the current version is v3.0.0.

💬 Comments