Replacing a color in image

To select a color in an image and replace it with a new color, follow the steps given bel…