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