搜索

PythonReactSEOPDF
OpenClaw

color-palette-cn

配色方案生成、色彩和谐(互补/类似/三色)、品牌配色、对比度检查(WCAG)、颜色格式转换(HEX/RGB/HSL)、流行色推荐。Color palette generator with harmony, brand colors, WCAG contrast check, format conversion, trending colors.

bytesagain0 来源安装数☆ 0 仓库 Starsv1.0.0

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install bytesagain/color-palette-cn

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Color Palette 🎨

配色方案生成与色彩工具。

使用方式

当用户需要配色方案、色彩搭配、对比度检查、颜色格式转换时,运行脚本:

bash scripts/color.sh <command> [options]

命令列表

命令 说明 参数
generate 生成配色方案 <theme> 主题关键词
harmony 色彩和谐方案 <hex_color> <type> type: complementary/analogous/triadic/split/tetradic
brand 品牌配色推荐 <industry> 行业: tech/food/fashion/health/finance/education
contrast WCAG对比度检查 <fg_hex> <bg_hex>
convert 颜色格式转换 <color> 支持HEX/RGB/HSL
trending 流行色推荐 [year] 可选年份

输出

所有颜色输出包含 HEX、RGB、HSL 三种格式,方便直接使用。

示例

# 生成科技主题配色
bash scripts/color.sh generate tech

# 获取互补色
bash scripts/color.sh harmony "#3498db" complementary

# 检查对比度是否符合WCAG
bash scripts/color.sh contrast "#333333" "#ffffff"

# 转换颜色格式
bash scripts/color.sh convert "#ff6600"

来源信息

Source
github
Repository
openclaw/skills
Path
skills/bytesagain/color-palette-cn
Version
1.0.0
Commit
19164679790c2eb5d6812bfb34f0405aeaee87e2
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Color Palette 🎨

配色方案生成与色彩工具。

## 使用方式

当用户需要配色方案、色彩搭配、对比度检查、颜色格式转换时,运行脚本:

```bash
bash scripts/color.sh <command> [options]
```

## 命令列表

| 命令 | 说明 | 参数 |
|------|------|------|
| `generate` | 生成配色方案 | `<theme>` 主题关键词 |
| `harmony` | 色彩和谐方案 | `<hex_color> <type>` type: complementary/analogous/triadic/split/tetradic |
| `brand` | 品牌配色推荐 | `<industry>` 行业: tech/food/fashion/health/finance/education |
| `contrast` | WCAG对比度检查 | `<fg_hex> <bg_hex>` |
| `convert` | 颜色格式转换 | `<color>` 支持HEX/RGB/HSL |
| `trending` | 流行色推荐 | `[year]` 可选年份 |

## 输出

所有颜色输出包含 HEX、RGB、HSL 三种格式,方便直接使用。

## 示例

```bash
# 生成科技主题配色
bash scripts/color.sh generate tech

# 获取互补色
bash scripts/color.sh harmony "#3498db" complementary

# 检查对比度是否符合WCAG
bash scripts/color.sh contrast "#333333" "#ffffff"

# 转换颜色格式
bash scripts/color.sh convert "#ff6600"
```

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.