Changing BG color as scroll

Hey there! Wix newbie here. From what I understand there is no inbuilt function for onScroll events, but I can use onViewPointEnter. Would it be possible or not even worth it to try to figure out fading between different background colors as elements come into the viewport? If there is some hacky way around it (like even a way to stretch a gradient image through the entire web page so that it changes as you scroll down), can you please let me know your thoughts? Thanks!