rs[3];
            } else if (acrate >= 0.3 && acrate <= 0.5) {
              bgcolor = colors[2];
            } else if (acrate >= 0.2 && acrate <= 0.3) {
              bgcolor = colors[1];
            } else if (acrate < 0.2 && places[d].c[i] > 100) {
              bgcolor = '#28a745';
            } else {
              bgcolor = colors[1];

            }

            $('.cell-' + d.replace(" ", "") + '-' + i.toString())
              .css("background-color", bgcolor)
              .css("border", bdsize +