You can use the Magic Wand tool in Photoshop to automatically select a specific section of the image, and then edit it in various ways.
It only takes a few steps to change your image's background color in Photoshop. You'll just need to use the Quick Selection Tool and Quick Mask mode.