Use the Select Color tool to pick colors directly from the selected image.
A single click will add one color to the selection set, or you can select all of the colors within a rectangular or polygonal window.