You can use this php script to generate a color palette based on an image. You may upload an image, or choose one from the list. If you upload an image, it will be kept on the server and can be used again.
A color palette was created based on this chimp's image:
[ Color Palette Generator ]