The colors of the visible spectrum arranged in terms of frequency as each color is a different wavelength and thus they are arranged in order of their wavelength.
Note that full spectrum of visible light always moves via a prism, the wavelengths tends to separate into the colors of the rainbow due to the fact that each color is a different wavelength.
Example is that Violet has the shortest wavelength, and red has the longest wavelength and as such they are arranged in order of their wavelength.
Learn more about visible spectrum from
https://brainly.com/question/4901067