changing only button color code example
Example 1: javascript change color of button
document.getElementById("button").style.background='#000000';
Example 2: how to resize submit button in html
#search {
width: 20em; height: 2em;
}
document.getElementById("button").style.background='#000000';
#search {
width: 20em; height: 2em;
}