I want it so that either on a slider or scroll down over differently colored backgrounds, the text logo would change to be readable over the background. I imagine this could be done by finding the dominant image color, but this would be slow and seems overkill. Is there an alternative?
Some effects I saw in the wild:
- https://home.google.com/ (Wait for image to change)
- http://www.acnestudios.com/us/en/home
Would the best way to do this (for a slider) just to make an array of colors on each slide?