So I was sat here manually picking the colors from an image and it was taking ages. Turns out there is a really easy way to do this in Photoshop CS4. It exists in earlier versions but the process is a bit different and I couldn’t actually find anywhere detailing how to do it with CS4. So here’s my version for posterities sake.