You can change the background color of a button in Webflow when it's clicked using either interactions or custom states, depending on whether the style should persist.
This method visually changes the color when clicked, but does not persist after page reloads.
This lets the style persist if additional logic or CMS/framer integrations control it further, though it still resets on refresh.
Webflow doesn’t have native support to permanently change a button's state (like :active) without reloading, but for more advanced behaviors (e.g., persisting a click state), you can embed a small script using the </> Embed component or via Project Settings > Custom Code.
To change a button’s background color when clicked in Webflow, use Mouse Click (Tap) interactions to either animate the color or toggle a custom class. For persistent click states beyond visuals, custom code is required.