openclaw-color-palette
Design-grade color processing suite — generate harmonious palettes from any seed color, check WCAG 2.1 AA/AAA contrast accessibility, convert between…
от onfire7777★ 17 звёзд на GitHub
Установить openclaw-color-palette в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
OpenClaw Color Palette v2.0
Design-grade color tools -- 5 tools for palettes, accessibility, conversion, simulation, and extraction.
Quick Reference
| Situation | Action | Tool |
|---|---|---|
| Starting a new website or app design | Generate a harmonious palette from a brand color | generate_palette |
| Text looks hard to read on a background | Check WCAG 2.1 AA/AAA contrast ratio | check_contrast |
| Designer gave hex, you need RGB for code | Convert between any color format | convert_color |
| Need to ensure inclusive design | Simulate 8 types of color vision deficiency | color_blindness_sim |
| Client sent a logo, need brand colors | Extract dominant colors with frequency data | extract_palette |
| Building a design system from scratch | Generate palette + check contrast + simulate CVD | All 3 combined |
What's New in v2.0
- :art: HarmonyEngine -- 6 color theory algorithms: complementary, analogous, triadic, split-complementary, tetradic, monochromatic. Mathematically precise palette generation from any seed color.
- :shield: AccessGuard Protocol -- Full WCAG 2.1 AA and AAA checking for normal and large text. When contrast fails, auto-suggests the nearest accessible color pair with minimal visual change.
- :eye: VisionSim 8-Type -- Simulate protanopia, deuteranopia, tritanopia, achromatopsia, protanomaly, deuteranomaly, tritanomaly, and achromatomaly. Warns when palette colors become indistinguishable.
- :dropper: ChromaExtract -- K-means clustering extracts 5-10 dominant colors from any image URL or base64 data, sorted by area percentage.
MCP Quick Start
{
"openclaw-colors": {
"type": "streamable-http",
"url": "https://color-palette-mcp.yagami8095.workers.dev/mcp"
}
}
Add to Claude Desktop, Cursor, Windsurf, VS Code, or any MCP-compatible client. No API key needed for Free tier. Works immediately.
Detection Triggers
This skill activates when you say:
- "generate a color palette" / "color scheme for my website" / "give me colors for"
- "check contrast" / "is this readable" / "WCAG accessibility" / "contrast ratio"
- "convert hex to RGB" / "convert color" / "what is #FF5733 in HSL" / "hex to CMYK"
- "simulate color blindness" / "how do colorblind users see this" / "protanopia simulation"
- "extract colors from image" / "pull palette from logo" / "brand colors from screenshot"
- "complementary colors" / "analogous palette" / "triadic" / "split-complementary" / "monochromatic"
Tools (5)
generate_palette -- Harmony-Based Palettes (HarmonyEngine)
Generate mathematically harmonious color palettes from any seed color using 6 color theory algorithms.
| Parameter | Type | Default | Description |
|---|---|---|---|
color |
string | required | Seed color in any format: hex, RGB, HSL, or CSS name |
harmony |
string | "complementary" | Algorithm: complementary, analogous, triadic, split-complementary, tetradic, monochromatic |
count |
number | 5 | Number of colors to generate (3-8) |
Output: Array of colors, each with hex, rgb, hsl, name (nearest CSS name), plus ready-to-paste CSS custom properties (--color-primary, --color-secondary, etc.).
WRONG vs RIGHT
WRONG -- Picking colors by gut feeling in a color picker:
User: I need a color palette for my SaaS dashboard
Agent: *suggests random colors* "#3498db, #e74c3c, #2ecc71" — no harmony, no theory, may clash
RIGHT -- Use generate_palette:
User: I need a color palette based on #3498db
Agent: calls generate_palette with triadic harmony → returns 5 mathematically balanced colors with hex/RGB/HSL, CSS variables, and named descriptors
check_contrast -- WCAG Accessibility Checker (AccessGuard Protocol)
Check foreground/background color contrast ratio against WCAG 2.1 standards for both AA and AAA levels, normal and large text.
| Parameter | Type | Default | Description |
|---|---|---|---|
foreground |
string | required | Text color (any format) |
background |
string | required | Background color (any format) |
Output: { ratio: "4.5:1", AA_normal: "pass", AA_large: "pass", AAA_normal: "fail", AAA_large: "pass", suggestion: { foreground: "#...", background: "#..." } }
When contrast fails, suggestion provides the nearest accessible color pair that passes with minimal visual change from the original colors.
WRONG vs RIGHT
WRONG -- Eyeballing if light gray text on white is readable:
User: Is #999999 text readable on white?
Agent: *guesses* "It looks okay to me" — fails WCAG AA at 2.85:1 (needs 4.5:1)
RIGHT -- Use check_contrast:
User: Is #999999 text readable on white?
Agent: calls check_contrast → "Ratio 2.85:1 — FAILS AA normal text (needs 4.5:1). Suggestion: darken to #767676 for AA pass at 4.54:1"
convert_color -- Universal Format Conversion (ChromaBridge)
Convert a
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
FAQ
Что делает скилл openclaw-color-palette?
Design-grade color processing suite — generate harmonious palettes from any seed color, check WCAG 2.1 AA/AAA contrast accessibility, convert between hex/RGB/HSL/HSV/CMYK, simulate 8 color blindness types, and extract dominant colors from images. Use when: (1) user says 'generate a color palette' or 'give me a color scheme for my website', (2) user asks 'check contrast' or 'is this readable' or 'WCAG accessibility', (3) user needs to 'convert hex to RGB' or 'what is #FF5733 in HSL', (4) user wants to 'simulate color blindness' or 'how do colorblind users see this', (5) user requests 'extract colors from image' or 'pull brand colors from this logo'. 6 harmony algorithms, 140 CSS named colors, k-means clustering. Zero install, sub-100ms on Cloudflare Workers. Free + Pro $9/mo.
Как установить скилл openclaw-color-palette?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openclaw-color-palette запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…