added color rendering for potts model