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