Newbie Question:
Below is an image texture of a brick wall with a black mortar:
Using node editor, is there a way to change the black mortar to white without changing the original color of the wall?
You can use a setup similar to this answer.
Since the target color is black, you can calculate the relative length of each channel, use a Math node set to "Less than" and tweak the threshold to mask the grout part.
Then use a Mix RGB set to Mix to set the grout color (here, white)
Result :
Since the grout is not pure black, you have to tweak the Compare node threshold to get the desired effect. Too little, and you have persisting black spots. Too high, and you begin masking undesired darker colors.