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