table {
  border: 3px dotted blue;
  border-collapse: separate;
  border-spacing: 15px;
  padding:5px;
}
td, th {
    border: 1px solid black;
    height:auto;
    Width:100px;
}
th:nth-child(even){
    color:white;
    background:darkgreen;
}
th:nth-child(odd){
    color:orange;
    background:darkblue;
}
td:nth-child(8n){
    background:yellow;
}
td:nth-child(8n-1){
    background:yellow;
}
td:nth-child(1){
    color:slateblue;
    background:lightgreen;
}
tr:nth-child(1) th:nth-child(1){
    background:blue;
}