change a button background color code example Example: change button color html .button { background-color: #4CAF50; }