Distribution of red and blue galaxies in groups: an empirical test of the halo model | Synapse