Palette Extraction From Images 色彩搭配提取

color
palette
extraction
images
generative
matplotlib
colormaps
haishoku
Color palette extraction is a process of obtaining colors from images. Generative methods, like matplotlib colormaps, and extractive methods, such as haishoku, can be used for this purpose. Python and Node.js offer various resources to decide colors based on foreground/background or image colors.
Published

October 11, 2022


generative

generate palette/color map from matplotlib colormaps

extractive

haishoku and tutorial_1 tutorial_2

pip3 install haishoku

extract the most likely-to-be color for text foreground/background, then match the rest of the color with the colors extracted from image, then decide the color.

palette Node.js image color palette extraction with node-canvas

python gvcci color extraction to turn images into 16 color palettes

quickpalette 🏃‍♀️🎨 R package for quick extraction of color palettes from text(by regex) and images

node-vibrant Extract prominent colors from an image, previous as vibrant.js

ColorExtraction Creating a color palette from images in a fun way using CSS Filters and Vibrant.js