In this paper, we prove transportation inequalities on the space of continuous paths with respect to the uniform metric, for the law of solution to a stochastic heat equation defined on r0, T sˆr0, 1s d . This equation is driven by the Gaussian noise, white in time and colored in space. The proof is based on a new moment inequality under the uniform metric for the stochastic convolution with respect to the time-white and space-colored noise, which is of independent interest.