Copy link to clipboard
Copied
I have a two-color background (black and white) and would like my text to automatically change to the opposite color as it goes over the two-color background. Is there a way to do this?
Hi together,
here is how I would do it:
Three elements stacked.
From top to bottom:
1. Rectangle filled with color 100c 100m 100y 0k and effect Difference applied to Object
2. Text frame with text color [Black]
3. Rectangle filled with [Paper]




Important Notes:
1. The rectangle with the "Black" appearance ( it is not colored in [Black] !! ) must be on top of the text frame.
2. With this stacking design and the difference effect applied you cannot have a neutral rich black for the black rectangle. It woul
...Copy link to clipboard
Copied
Like that:

Copy link to clipboard
Copied
how is that done?
Copy link to clipboard
Copied
Hi together,
here is how I would do it:
Three elements stacked.
From top to bottom:
1. Rectangle filled with color 100c 100m 100y 0k and effect Difference applied to Object
2. Text frame with text color [Black]
3. Rectangle filled with [Paper]




Important Notes:
1. The rectangle with the "Black" appearance ( it is not colored in [Black] !! ) must be on top of the text frame.
2. With this stacking design and the difference effect applied you cannot have a neutral rich black for the black rectangle. It would be either:
100 k
or
100c 100m 100y
3. The rectangle filled with [Paper] must be in the background if you want 100 K with the black rectangle.
It must be color [Paper]. Do not use 0c 0m 0y 0k . If you want the not neutral rich black you must remove the rectangle filled with [Paper].
Regards,
Uwe
Copy link to clipboard
Copied
This has been very helpful! What are the guiding principles if I want to use a different dark color in the first (top) rectangle (something other than black)?
Copy link to clipboard
Copied
If you want white text on dark "background" (actually the object is stacked above the text frame) there is only 100k or 100c 100m 100y for the dark color.
Or you could have a tint of 100k.
For that you have to change the fill color of the dark rectangle and add a percentage of black to it. In this case you absolutely need the [Paper] colored rectangle in the background.
If you choose e.g. 100c 100m 100y 10k for the dark rectangle, you'll get 90k effectively for the dark rectangle.
That's how effect Difference is working when set to 100%. If you change Difference to less than 100% you'll get a tint of black for the fill of your text. Or colored text, if you change the CMY values for the dark rectangle.
Regards,
Uwe
Copy link to clipboard
Copied
Thank you. I have to play around with this to see if I can achieve my desired outcome!
Copy link to clipboard
Copied
marciam-greeenthum wrote
Thank you. I have to play around with this to see if I can achieve my desired outcome!
Maybe ACP teachbit will come back and show an alternate solution?
Regards,
Uwe
Copy link to clipboard
Copied
My solution is less automatic and only a solution for text, that will not be changed afterwards. On the other hand I am flexible when it comes to change the colour of either the text or the box.
1. create two boxes in the desired colors
2. create a textframe and fill with the text.
3. cut the textframe, select one of the boxes and paste inside
4. paste the textframe in place again, change the textcolor, if needed, cut the textbook and place into the other box.
here my former version with changed text and box color:

Get ready! An upgraded Adobe Community experience is coming in January.
Learn more