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