Palette from image

Pull the dominant colours out of an image as a palette.