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