Change background colour by clicking a button


I want to change my websites background colour with a button like this reference website :

when you click on the button in the right bottom corner the website changes to that specific colour.

Is this possible to achieve on Webflow?

Here is my public share link: LINK
(how to access public share link)

Hello @Rhea, yes. this is definitely possible with Webflow.

I have set this up with an interaction showing you how to achieve this. Check out my read-only link.

If you need to cycle through different colors as seen on your example website, you could create separate buttons for each color and show/hide them depending on the order you are looking for.

Let me know if this helps.

1 Like