function doColor(item, color, bg) {
item.style.color = color; // changes text color
item.style.backgroundColor = bg; // changes background
}

function undoColor(item) {
item.style.color = "white"; // sets color back to black
item.style.backgroundColor = ""; // sets background to default
}