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