B Set 96 Logic Puzzle

Mastermind: 4-colors #96

Title
Mastermind: 4-colors #96
CodeType
colors
CodeLength
4
ColorCount
4
Colors
  • Red
  • Blue
  • Green
  • Yellow
SecretCode
  • Red
  • Blue
  • Green
  • Yellow
Guesses
  • {"guess":["Red","Blue","Green","Yellow"],"blackPegs":4,"whitePegs":0}
  • {"guess":["Blue","Green","Yellow","Red"],"blackPegs":0,"whitePegs":4}
  • {"guess":["Blue","Red","Yellow","Red"],"blackPegs":0,"whitePegs":3}
  • {"guess":["Green","Green","Green","Blue"],"blackPegs":1,"whitePegs":1}
  • {"guess":["Blue","Green","Green","Blue"],"blackPegs":1,"whitePegs":1}
  • {"guess":["Yellow","Green","Blue","Blue"],"blackPegs":0,"whitePegs":3}
Question
Using the 6 guesses and their feedback shown below, deduce the secret 4-peg code. The available colors are: Red, Blue, Green, Yellow.
Rules
  • The secret code has exactly 4 positions.
  • Available colors: Red, Blue, Green, Yellow. Repetition is allowed.
  • Black peg (●): correct color/digit in the correct position.
  • White peg (○): correct color/digit but in the wrong position.
  • The number of pegs does not indicate WHICH positions are correct.
Hint
Use process of elimination: identify which colors are in the code, then find their positions.