Skip to main content
DevTools24

Estrattore Colori Immagine

Estrai colori dalle immagini.

Color Extraction - Dettagli tecnici

Color extraction analyzes image pixels to find the most prominent colors. The algorithm samples pixels across the image and groups similar colors together to identify the dominant palette.

Alternativa da riga di comando

# Using ImageMagick to get dominant colors
convert image.jpg -colors 5 -unique-colors txt:

# Using Python with PIL/colorthief
pip install colorthief
python -c "from colorthief import ColorThief; ct = ColorThief('image.jpg'); print(ct.get_palette(color_count=5))"