← 返回 Skills 市场
52
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install color-convert
功能描述
Convert colors between HEX, RGB, HSL, HSV, CMYK, generate palettes, check WCAG contrast, and export CSS variables using pure Python.
使用说明 (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)
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install color-convert - 安装完成后,直接呼叫该 Skill 的名称或使用
/color-convert触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
Color Convert 是什么?
Convert colors between HEX, RGB, HSL, HSV, CMYK, generate palettes, check WCAG contrast, and export CSS variables using pure Python. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 52 次。
如何安装 Color Convert?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install color-convert」即可一键安装,无需额外配置。
Color Convert 是免费的吗?
是的,Color Convert 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Color Convert 支持哪些平台?
Color Convert 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Color Convert?
由 darbling(@darbling)开发并维护,当前版本 v1.0.0。
推荐 Skills