color button in html code example Example: formatting a button in css .btn1:hover { background-color: #008CBA; color: white; }