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