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