private void colorCode(int i, int j, long temp) {
        if (temp >= HIGH_TEMP) {
            colorHighTemp(i, j, temp);
        } else if (temp <= LOW_TEMP) {
            colorLowTemp(i, j, temp);
        } else {
            colorMidTemp(i, j, temp);
        }
    }