The first scientist to use a glass prism to obtain the spectrum of sunlight was no other person but Isaac Newton. He was a physicist who made excellent contributions to the field of physics. Sir Isaac Newton was the first person to explain that sunlight consists of seven colors.
This explains why there are always about seven different colors whenever sunlight passes through a glass prism. These colors look similar to the ones that make up a rainbow. The spectrum of sunlight that forms when sunlight passes through a glass prism starts from colors with smaller wavelengths to longer wavelengths.
The splitting of the sunlight gives the following colors: Violet, Indigo, Blue, Green, Yellow, Orange, Red. Before this great discovery, people usually thought this was magic. Sir Isaac Newton, however, took it upon himself to find the truth behind this mystery.