Skip to main content
DevTools24

图片颜色提取器

从图片中提取主色调以创建调色板。非常适合设计灵感和品牌项目。

Color Extraction - 技术详情

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.

命令行替代方案

# 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))"