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