How to determine which background is under our fixed div (better if it is on jquery)?
In the header of the site there is a fixed logo. When scrolling, it should change from white to black, depending on the background that is under it when scrolling the pilgrim.
Update
Example - www.designbyface.com/ (black icon at the top right). When scrolled - on a dark background should become white, because it is not visible, unreadable.
On the left, the fixed logo in png should also be placed, and when scrolling, png will change from black to white and vice versa. This is just an example, and the site is dynamic, the pages are different.
ΠΊΠ°ΠΊΠΎΠΉ ΡΠΎΠ½? What color or picture? What does it mean underΠ½Π°ΡΠΈΠΌ ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½Π½ΡΠΌ div? Try to write more detailed questions with an example of what you have and what you want to get - Alexey Shimansky