$(document).ready(function(){
$("#button").click(function(){
var color = $(this).css("background-color");
var background;
if(color != "rgb(144, 238, 144)"){
background = "lightgreen";
}
else{
background = "rgb(221, 221, 221)";
}
$("#button").css({"background-color":background});
})
});