What is the html code to set the background of a button a specific color?

The tite says it all

html doesn't do that css does

button {
  background-color: gray;
}

You can put the CSS code in a style attribute of the button elements.