← Back to list

color-palette-extractor
by dkyazzentwatwa
My comprehensive, tested + audited, library of skills to use for ChatGPT.
⭐ 6🍴 0📅 Jan 20, 2026
SKILL.md
name: color-palette-extractor description: Extract dominant colors from images, generate color palettes, and export as CSS, JSON, or ASE with K-means clustering.
Color Palette Extractor
Extract dominant colors from images and generate color palettes with multiple export formats.
Features
- Dominant Colors: Extract N most dominant colors using K-means
- Color Schemes: Generate complementary, analogous, triadic schemes
- Multiple Formats: Export as CSS, JSON, ASE (Adobe Swatch), ACO (Photoshop)
- Color Analysis: RGB, HEX, HSL, HSV values
- Visualization: Palette swatches, color distribution charts
- Batch Processing: Extract palettes from multiple images
- Similarity Matching: Find similar colors across palettes
Quick Start
from color_palette_extractor import ColorPaletteExtractor
extractor = ColorPaletteExtractor()
# Extract colors
extractor.load('image.jpg')
palette = extractor.extract_colors(n_colors=5)
# Export
extractor.export_css('palette.css')
extractor.export_json('palette.json')
extractor.save_swatch('swatch.png')
CLI Usage
# Extract 5 colors
python color_palette_extractor.py --input image.jpg --colors 5 --output palette.json
# With CSS export
python color_palette_extractor.py --input image.jpg --colors 8 --css palette.css --swatch swatch.png
# Batch mode
python color_palette_extractor.py --batch images/ --colors 5 --output palettes/
Dependencies
- pillow>=10.0.0
- scikit-learn>=1.3.0
- numpy>=1.24.0
- matplotlib>=3.7.0
Score
Total Score
55/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

