Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计提醒

color-palette-extractor调色板提取器

Agent Skill

color-palette-extractor 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,869

周安装

155

GitHub Stars

106

下载量

1,252
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:color-palette-extractor(调色板提取器)
来源仓库:https://github.com/onewave-ai/claude-skills
仓库路径:skills/color-palette-extractor
安装命令:
npx skills add https://github.com/onewave-ai/claude-skills --skill color-palette-extractor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/onewave-ai/claude-skills --skill color-palette-extractor

简介

color-palette-extractor 从图像、网页或设计稿中提取主色调并生成和谐调色板。

  • 采用 K-means 聚类与频率排序算法,支持导出 CSS 变量或设计工具格式。
  • 适用于品牌识别、UI 主题构建及素材再利用场景,提升视觉一致性。
  • 使用前需确认源文件分辨率与色彩深度,低质量图像可能导致提取偏差。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Color Palette Extractor

Extract and generate color palettes from images, websites, and designs.

Instructions

When a user needs to extract colors from a source:

  1. Identify Source Type:

- Image file (PNG, JPG, SVG) - Website URL - Screenshot - Design mockup - Existing color code to build palette from

  1. Extract Colors: From Image: From Website: Color Clustering:

- Analyze pixel data - Identify dominant colors - Group similar shades - Calculate color frequency - Sort by prominence - Fetch and parse CSS - Extract color values from stylesheets - Identify brand colors - Find accent colors - Detect text/background colors - Use K-means clustering - Group similar colors - Typically extract 5-10 dominant colors - Ignore near-white/near-black unless significant

  1. Generate Color Palette: Primary Palette (5-10 colors): Extended Palette:

- Most dominant color - 2-3 supporting colors - 1-2 accent colors - Background color - Text color - Light and dark variations - Tints (add white) - Shades (add black) - Tones (add gray) - Generate 50, 100, 200...900 scales

  1. Color Harmony Analysis: Generate complementary schemes:

- Monochromatic: Variations of single hue - Analogous: Adjacent colors on wheel - Complementary: Opposite colors - Triadic: Three evenly spaced colors - Split-complementary: Base + two adjacent to complement - Tetradic: Four colors (two complementary pairs)

  1. Format Output: ``` 🎨 COLOR PALETTE EXTRACTOR Source: [Image/Website URL] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎯 PRIMARY PALETTE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1. Primary Color HEX: #3B82F6 RGB: rgb(59, 130, 246) HSL: hsl(217, 91%, 60%) Usage: Main brand color, primary buttons, links Prominence: 32% 2. Secondary Color HEX: #8B5CF6 RGB: rgb(139, 92, 246) HSL: hsl(258, 90%, 66%) Usage: Accent elements, hover states Prominence: 18% 3. Background HEX: #F8FAFC RGB: rgb(248, 250, 252) HSL: hsl(210, 40%, 98%) Usage: Page background, cards Prominence: 25% 4. Text Primary HEX: #1E293B RGB: rgb(30, 41, 59) HSL: hsl(217, 33%, 17%) Usage: Body text, headings Prominence: 15% 5. Accent HEX: #10B981 RGB: rgb(16, 185, 129) HSL: hsl(158, 84%, 39%) Usage: Success states, CTAs Prominence: 10% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🌈 COLOR SCALE (Tailwind-style) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Primary: 50: #EFF6FF [lightest] 100: #DBEAFE 200: #BFDBFE 300: #93C5FD 400: #60A5FA 500: #3B82F6 [base] 600: #2563EB 700: #1D4ED8 800: #1E40AF 900: #1E3A8A [darkest] 950: #172554 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎭 COLOR HARMONY SCHEMES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Complementary: Base: #3B82F6 (blue) Complement: #F6823B (orange) Analogous: #3B82F6 (blue) #3BF6D9 (cyan) #823BF6 (purple) Triadic: #3B82F6 (blue) #F6823B (orange) #82F63B (green) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 💻 EXPORT FORMATS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ CSS Variables: `css:root {--color-primary: #3B82F6; --color-secondary: #8B5CF6; --color-background: #F8FAFC; --color-text: #1E293B; --color-accent: #10B981;} `` Tailwind Config: module.exports = {theme: {extend: {colors: {primary: {50: '#EFF6FF', 500: '#3B82F6', 900: '#1E3A8A',},}}}} SCSS Variables: $primary: #3B82F6; $secondary: #8B5CF6; $background: #F8FAFC; $text: #1E293B; $accent: #10B981; JSON: {"primary": "#3B82F6", "secondary": "#8B5CF6", "background": "#F8FAFC", "text": "#1E293B", "accent": "#10B981"} Android XML: <color name="primary">#3B82F6</color> <color name="secondary">#8B5CF6</color> iOS Swift: extension UIColor {static let primary = UIColor(hex: "3B82F6") static let secondary = UIColor(hex: "8B5CF6")} ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ♿ ACCESSIBILITY CHECKS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Contrast Ratios (WCAG 2.1): Text on Background: #1E293B on #F8FAFC: 14.2:1 ✅ AAA (excellent) Primary on Background: #3B82F6 on #F8FAFC: 4.8:1 ✅ AA (good) White text on Primary: #FFFFFF on #3B82F6: 4.6:1 ✅ AA (good) Accent on Background: #10B981 on #F8FAFC: 3.2:1 ⚠️ AA Large text only Recommendations: • Use darker shade of accent for small text • Primary button text should be white (#FFFFFF) • Consider #047857 for better contrast ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 💡 COLOR PSYCHOLOGY ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Blue (#3B82F6): • Trust, professionalism, calm • Common for: Tech, finance, healthcare Purple (#8B5CF6): • Creativity, luxury, wisdom • Common for: Creative services, premium brands Green (#10B981): • Growth, success, health • Common for: Environmental, finance, wellness ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎨 DESIGN SYSTEM INTEGRATION ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Suggested Usage: • Primary: Main CTAs, links, active states • Secondary: Secondary buttons, highlights • Background: Page/card backgrounds • Text: Body copy, headings • Accent: Success messages, highlights Color Roles: • Success: #10B981 (green accent) • Warning: #F59E0B (generate from palette) • Error: #EF4444 (generate complement) • Info: #3B82F6 (primary blue) `
  2. Advanced Features: Color Blindness Simulation: Mood Board: Brand Matching:

- Test palette for: - Protanopia (red-blind) - Deuteranopia (green-blind) - Tritanopia (blue-blind) - Suggest adjustments for accessibility - Generate color combinations - Show usage examples - Create gradient options - Compare to existing brand colors - Find closest brand matches - Suggest similar palettes

Example Triggers

  • "Extract colors from this screenshot"
  • "Get color palette from this website"
  • "Generate a color scheme from this image"
  • "Create Tailwind config from these colors"
  • "Find dominant colors in this logo"
  • "Build a palette from this hex code"

Best Practices

Color Extraction:

  • Filter out near-white/black unless prominent
  • Group similar colors (within 10% similarity)
  • Weight by visual importance (not just frequency)
  • Consider color psychology

Palette Generation:

  • Maintain color harmony
  • Ensure sufficient contrast
  • Generate semantic names (primary, accent, etc.)
  • Provide light and dark variations

Accessibility:

  • Check WCAG contrast ratios
  • Test with color blindness simulation
  • Recommend accessible alternatives
  • Ensure text readability

Export Formats:

  • Support common formats (CSS, Tailwind, iOS, Android)
  • Include usage guidelines
  • Provide example implementations

Output Quality

Ensure palettes:

  • Have clear dominant colors
  • Include sufficient variations
  • Pass accessibility checks
  • Come with usage guidelines
  • Export in multiple formats
  • Include color psychology notes
  • Show harmony schemes
  • Provide contrast ratios
  • Work for color-blind users
  • Have semantic naming

Generate professional, accessible color palettes ready for immediate use in design systems.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

windsurf

31.46%
按下载量换算394

Claude Code

23.38%
按下载量换算293

Cursor

17.63%
按下载量换算221

Gemini CLI

11.76%
按下载量换算147

Antigravity

7.74%
按下载量换算97

Codex

3.45%
按下载量换算43

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills