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