Create a While Page is Scrolling animation, select your logo, and add an Invert filter effect. At 0% set the filter strength to 0 so the logo is white when the user scrolls up and at 100% set the filter strength to 100 to make it dark. Change the keyframes for each marker to determine exactly when the logo inverts.