Hi everyone!
I am looking for a way to change the color of a text (only between white and black) in relation to the background photo, in the background I have a full-screen slideshow that reproduces several random photos.
The idea would be that if the background is mostly dark, the text is WHITE, if the background is lighter, the text is BLACK
Well, the idea would be to add a class to the background pictures, e.g. 'dark' for the dark ones and 'light' for the lighter ones (surprising... ) Depending on the class of the randomly chosen picture you can change the text color to black or white (using timelines or javascript/styles)