Generate color palettes from images