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