By offsetting the brightness of the rgb pixel components that make up the image.
But seriously, there are too many practical answers to this questions. Can you elaborate? What do you want to achieve? What software are you using?
Update: Here's a lesson from our new Photon Tutorials: Changing Colors6