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