Fringing (Chromatic Aberrations) in images occurs in areas of high contrast, most usually between the sky and trees or the sky and building. It appears as colors around the edge of objects; usually in purple or green.
We will use the Camera RAW App to edit our image. If you are working on a RAW file, then you automatically go into the Camera RAW App when you open the file. In which case, you can ignore the first couple of steps in this tutorial. If you are working on a JPEG file or other compressed format, then you will need to do these preparatory steps before you edit your image. This will ensure that any changes you make are non-destructive
STEP 1: Create a copy of your image by dragging the Background Layer onto the Create New Layer icon at the bottom of the Layers tab. It’s the little plus symbol next to the trash can! Rename the new Layer to a name of your choice.
Now right-click on the new Layer and select the Convert To Smart Object option. You can also do this through the Application Bar by choosing Layer then Smart Objects and Convert To Smart Object
STEP 2: Head up to the Application Bar and select Filter then Camera RAW Filter. Camera RAW then opens.
STEP 3: Head down to the Optics Panel and the Defringe section. You can use the sliders to manually target the fringing, but by far the simplest way is with the Sample Fringe Pipette. Grab the pipette (illustrated above) and use it to make a selection on your image where the fringing occurs. Photoshop will then automatically eliminate the offending color from your image.