Changing text colour depending on background

How can I make a fixed logo text change colour based on the section background (white ↔ black) on scroll?

Maybe Blending modes?

Or if you want to go the no-code way, you can use animations and have color-1 text change opacity to 0 on scroll and do the inverse with color-2 text (go from 0 to 100). Repeat as needed.

1 Like