Your goal is to find the secret four-color code. The following colors are possible: orange, yellow, red, white, green, purple.
Some guesses have already been made. I will provide feedback for each guess made with which it is possible to unambigiously determine the secret code.

Previous Guesses:
Guess: ['red', 'white', 'yellow', 'purple']. Hint: three colors are in the secret code but in the wrong positions.
Guess: ['orange', 'yellow', 'red', 'red']. Hint: two colors are in the correct positions.
Guess: ['green', 'yellow', 'red', 'white']. Hint: two colors are in the correct positions and one color is in the secret code but in the wrong positions.
Guess: ['white', 'yellow', 'red', 'yellow']. Hint: one color is in the correct position and one color is in the secret code but in the wrong position.
A B C D
green, yellow, purple, red purple, purple, green, green yellow, yellow, white, green green, white, yellow, green