Table color count?

The coloring highlights a certain color when the data is within a certain range. In this case, anything greater than 30 will highlight green and anything less then 30 will highlight red. The coding I followed with coloring the table came from here: Cell Color in Perspective Table - #7 by pkhoshroo