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