원클릭으로
dominant-color
Extract dominant colors from an image. Use when the user wants to find the main colors in an image or generate a color palette.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Extract dominant colors from an image. Use when the user wants to find the main colors in an image or generate a color palette.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
Download random placeholder images from Lorem Picsum. Use when user asks for placeholder images, needs sample images for frontend work, or mentions needing images for UI/design tasks.
Create new Claude Code skills. Use when the user wants to create a custom skill, slash command, or automation.
| name | dominant-color |
| description | Extract dominant colors from an image. Use when the user wants to find the main colors in an image or generate a color palette. |
| argument-hint | <image-path> [options] |
| allowed-tools | Bash(python *), Read |
Extract dominant colors from an image file using the extract_colors.py script.
python ~/.claude/skills/dominant-color/scripts/extract_colors.py <image> [options]
| Flag | Description |
|---|---|
-n, --count N | Number of colors to extract (default: 5) |
-q, --quality 1-10 | Extraction quality, 1=best (default: 1) |
-f, --format FORMAT | Output format: hex, rgb, tuple, full |
--json | Output as JSON |
--dominant-only | Only output the dominant color |
# Basic usage
python script.py image.png
# Get 8 colors as hex values
python script.py image.jpg -n 8 -f hex
# JSON output for programmatic use
python script.py image.png --json
# Just the dominant color
python script.py image.png --dominant-only -f hex
$ARGUMENTS