You have it backwards
“You have it backwards”
A lesson in elementary physics should settle this.
https://www.physicsclassroom.com/class/refrn/Lesson-4/Dispersion-of-Light-by-Prisms