How does refraction work exactly?

No.13628817 ViewReplyOriginalReport
So i was going to ask this in stupid questions, but i rather feel like this is a good question.

Why when light changes mediums does it change direction? I've looked it up, and they say it's because the wave speed changes. But why would that cause a change in direction? Wouldn't that only change it's color?