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