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