How can I change the color of a text, according to the background color in which it is inserted?
I've seen this a few times. It works like this: if the background is light, the text turns black, and if it's dark, the text goes white.
I've tried searching for the site in question, but I've forgotten. It was something like this: The text was on top of an article cover, so as the cover of the article may vary in color, the text fit the background
How is this done?