We present the first results obtained on the analysis of galaxy populations in, the CFHTLS Deep Survey using photometric redshifts., We specifically address the distribution of galaxies in colors as a function of redshift and environment up to z~1.3., Our results are compared with those recently obtained on the SDSS using similar number density estimators.