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