Links between the dynamical evolution and the surface color of the Centaurs