Important note: Light slows down when it passes through different mediums like water, glass, or air. The speed of light is fastest in a vacuum and decreases as the density of the medium increases.
Therefore, regardless of the type of light (e.g., visible light, infrared, ultraviolet), all light travels at the same speed in a vacuum.