Development of the Red Sequence in Galaxy Clusters