Skip to main content
Known Participant
June 9, 2020
Answered

Replace colors on two color image with faded edges?

  • June 9, 2020
  • 2 replies
  • 1313 views

Hi,

 

I am using Photoshop version 21.1.3.  I have a .png file with some simple symbols that are black on a white background.  Rather than consisting entirely of pixels that are either black or white, the edges of the symbols fade from pure black to pure white through shades of gray over a span of a pixel or two. 

 

I'd like to convert this image to cyan on a black background, but I would like to preserve the same fade around the edges (so that the edges will fade from pure cyan to pure black in the same way that the original symbols fade from black to white).

 

If anyone here can give me an idea how I can accomplish this, I would greatly appreciate it.

 

Just in case it is useful, I have attached the .png file I am working with.

 

Thanks in advance,

Paul

 

This topic has been closed for replies.
Correct answer c.pfaffenbichler

2 replies

c.pfaffenbichler
Community Expert
c.pfaffenbichlerCommunity ExpertCorrect answer
Community Expert
June 9, 2020

Known Participant
June 9, 2020

Thank you c_pfaffenbichler - that worked perfectly !

I appreciate your help!

Best regards,
Paul

c.pfaffenbichler
Community Expert
Community Expert
June 10, 2020

Another way would be loading the image as a Selection, inverting it and using that as a Layer Mask on a Solid Color Layer and putting another Solid Color Layer behind it as the background. 

I noticed that the black in the illustration was not completely black, but that can be easily addressed in the Layer Mask with Curves, Levels, …

c.pfaffenbichler
Community Expert
Community Expert
June 9, 2020

Layer > New Adjustment Layer > Gradient Map