I would like to convert a "fuzzed color" = range of colors around(similar to) a single color in an image, to another "fuzzed color" = range of colours similar to a second, single color.
So far i can only convert a "fuzzed color" to a second, fixed color using:
Code: Select all
convert in.jpg -fuzz 10% -fill "#00000" -opaque "#7d7970" out.jpg
I would like the replacing target color to be the closer to black, the closer the replaced color originally was to #7d7970. I.e. I would like it to be a mix with the background.
Here an example from Photoshop:
I replace the brown color (fuzzed) in the middle of the image with a yellow color (the closer to the yellow the closer it was to the brown):
Thank you for your help!