This isn’t code and am not sure how complex you are want/need it to be, but a way you could potentially set this up is with a photo or shape that is as big the page to work as a ‘background’ and use an animation on the Scroll effect to have photo or shape to pop in or fade into the background color you want by changing the opacity.
Thank you! and funny you would suggest this… my solve was similar. What I did was create a video that faded between the two colors and used the video frame widget pinned at full width and height and triggered by scroll.
Kind of a hacky workaround, but isnt it all like that with Readymag lol.
Hello at @nicholas.jacksondesi I have some HTML here that will cycle through a selection of colours. I would maybe just add this to an embedded widget rather than in the head as you won’t be able to see it when designing your project. You can set the code widget to be full width and full height in the pin element settings.