<!DOCTYPE html>
<html>
<body>
<button style="background-color:red; border-color:blue; color:white">Button
Text</button>
</body>
</html>
.button {
background-color: #4CAF50;
}
.button_css
{
background-color: black;
color: white;
width: 150px;
height: 40px;
}
.button {
background-color: #A62773; /*Color Code*/
}
function btnRed() {
document.getElementById("Div1").style.backgroundColor="Red";
}
function btnGreen() {
document.getElementById("Div2").style.backgroundColor="Green";
}
function btnBlue() {
document.getElementById("Div3").style.backgroundColor="Blue";
}
function btnReset() {
document.getElementById("Div1").style.backgroundColor="Black";
document.getElementById("Div2").style.backgroundColor="white";
document.getElementById("Div3").style.backgroundColor="white";
}