hingehead wrote:But all colours in a given medium travel at the same velocity, their wavelength and frequency differentiate them.
This is not correct. All colours in a vacuum travel at the same velocity. In most media, the different frequencies of light travel at different velocities (which is slower than the speed of light in a vacuum).
This is how a prism works, the different colors are refracted at different angles because of their different velocities.