color code cells based off rules