I want to change the colors (kind of recolor) of an element A on which I apply an effect E(x), such that the new colors will be based on the colors of the element after the effect B=E(A). Does anyone know how to do it?
For example, let's consider a color gradient on which we apply a stamp effect. This last one will turn all the colors to black and white. Now I want to change the black to blue and the white to yellow, but if I apply recolor on the original object I will always get a black and white output. Instead, I want to change the colors after the effect.