Extract color palettes from images.