Cómo usar JavaScript para que la caja de color cambie el color y luego cambie

var btn = document.getElementById("#btn");
var box = document.getElementById("#box");

function changeColor() {
  box.style.backgroundColor = "red";
}

function ifColor() {
  if (box.style.backgroundColor == "red") {
    box.style.backgroundColor = "blue";
  }
}
Breakable Bat