Header logo Customization

I have a website with Beaver Builder. I have created a header transparent header as well as a sticky header while scrolling.

I need to change the logo when we scroll the page. i.e On transparent header logo should be different and while scrolling sticky header should have a different logo.