Which of the following colors of light has the greatest energy?

Blue light has the greatest energy, followed by green, yellow, orange, and red.