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