Your goal is to find the secret four-color code. The following colors are possible: white, purple, orange, green, blue, red.
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: ['white', 'orange', 'blue', 'green']. Hint: one color is in the correct position and one color is in the secret code but in the wrong position.
Guess: ['white', 'white', 'purple', 'green']. Hint: one color is in the correct position and one color is in the secret code but in the wrong position.
Guess: ['white', 'blue', 'white', 'red']. Hint: two colors are in the correct positions.
Guess: ['white', 'green', 'red', 'red']. Hint: two colors are in the correct positions.
A B C D
purple, white, white, purple white, purple, orange, red blue, red, green, red white, blue, white, green