Given the input: 'red blue green yellow', what is the output after rearranging by color spectrum order?

Answer: A. red green blue yellow
The correct order based on the color spectrum is red, green, blue, yellow.