In this work, we study the evolution with redshift of the colour-magnitude relation (CMR) of early-type galaxies. This evolution is analyzed through cosmological numerical simulations from z = 2 to z = 0. The preliminary results shown here represent the starting point of a study aimed at identifying the processes that originated the observed CMR of early-type galaxies at z = 0.