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