Page customization

How do i use wix code to change the color of elements on the page eg, page background, table header etc.

On our development platform, you can control the style of elements in two different ways:

  • Using .style through the Velo API on elements that expose the property

Learn more about the .style Property

  • Using CSS on Wix Studio

Studio Editor: About CSS Editing
Styling Elements with CSS

Depending on your needs, either method can allow you to programmatically set element style.

Does wix have a color selection input element that translates to hex value when a color is selected? How do i use code to use the hex input value of an input element to change the background color of a page when a button is clicked?