360 Secure SkillHub
360 安全技能中心

Pipeworx colorapi

该 Skill 通过远端 MCP 服务提供颜色识别、配色方案生成及 hex/RGB/HSL/CMYK 格式转换,示例以 curl 调用,适合设计配色、格式规范和对比度检查;未包含本地算法、错误处理或离线使用说明。

brucegutman
brucegutman
热度 34.51
最近更新 2026-05-11 17:41:04
分类:创作依赖:MCP 服务 / 第三方 API应用场景:品牌素材 / UI 原型

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pipeworx-colorapi
Metadata
name
pipeworx-colorapi
description
Color identification, scheme generation, and format conversion via TheColorAPI — hex, RGB, HSL, and CMYK
version
1.0.0
metadata
{"openclaw":{"requires":{"bins":["curl"]},"emoji":"🎨","homepage":"https://pipeworx.io/packs/colorapi"}}

The Color API

Turn hex codes into rich color data. Identify a color's name, generate harmonious palettes, and convert between formats (hex, RGB, HSL, CMYK). Useful for design tools, accessibility checks, and brand color analysis.

Tools

  • identify_color — Pass a hex value (e.g., "FF5733") to get the color's name, RGB/HSL/CMYK values, and contrast info
  • generate_scheme — Create a color scheme from a seed color. Modes: monochrome, analogic, complement, triad, quad
  • convert_color — Convert RGB values (0-255 per channel) to hex, HSL, CMYK, and get the nearest named color

When to use

  • A designer asks "what's the name of this hex color?"
  • Generating a 5-color palette from a brand's primary color
  • Converting between color formats for CSS, print, or design specs
  • Checking if a color has good contrast for accessibility

Example: generate a complementary palette from coral

curl -s -X POST https://gateway.pipeworx.io/colorapi/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"generate_scheme","arguments":{"hex":"FF6B6B","mode":"complement","count":5}}}'

Returns 5 colors with hex, RGB, HSL values and their closest named colors.

Setup

{
  "mcpServers": {
    "pipeworx-colorapi": {
      "command": "npx",
      "args": ["-y", "mcp-remote@latest", "https://gateway.pipeworx.io/colorapi/mcp"]
    }
  }
}