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