Galaxy mass and environment are known to play a key role in galaxy evolution : looking at galaxy colors at different redshifts, fixed galaxy mass and environment, offers a powerful diagnosis to disentangle the role of each. We study at the same time the dependence of the fraction of blue galaxies on secular evolution, environment and galaxy mass with a well-controlled cluster sample spanning the last 10 Gyr (0 < z < 2). We found that the mass and environmental quenchings are separable, that environmental quenching does not change with epoch, and that mass quenching is a dynamical process.