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