skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
dkyazzentwatwa/chatgpt-skills57 installs

color-palette-extractor

Extract dominant colors from images, generate color palettes, and export as CSS, JSON, or ASE with K-means clustering.

How do I install this agent skill?

npx skills add https://github.com/dkyazzentwatwa/chatgpt-skills --skill color-palette-extractor
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The color-palette-extractor skill is a standard utility for image processing and color analysis. It uses reputable libraries (Pillow, Scikit-learn) to extract dominant colors and provides various export options. No malicious patterns, obfuscation, or unauthorized data access were detected.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    3/3 files flagged

What does this agent skill do?

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

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/dkyazzentwatwa/chatgpt-skills/color-palette-extractor">View color-palette-extractor on skillZs</a>