how to change color of button on click in css code example Example: html change button color .button { background-color: #A62773; /*Color Code*/ }