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