Extract a colour palette from a photo

Find up to five frequent colours in a photo and download their hex values.