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