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