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