Open the photo in an image editor
Select the background using a selection tool
Refine the selection edges if needed
Remove or mask the original background
Add a new solid color layer behind the subject
Choose the desired background color
Adjust the subject edges for a clean finish
Save the edited photo in your preferred format
