body {
  font-family: sans-serif;
  text-align: center;
  background: #111;
  color: white;
  color: white;

}
.cube-wrapper {
  display: inline-block;
}

.cube {
  display: grid;
  grid-template-columns: repeat(12, 40px);
  grid-template-rows: repeat(9, 40px);
  margin: 20px auto;
}

.tile {
  width: 40px;
  height: 40px;
  border: 2px solid #c9c9c9;
  border-radius: 16%;
  box-sizing: border-box;
}

.w { background: white; }
.y { background: yellow; }
.r { background: red; }
.o { background: orange; }
.g { background: green; }
.b { background: blue; }

.controls {
  margin-top: 20px;
}

button {
  margin: 5px;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
} 
