B Set 90 Logic Puzzle

Mastermind: 4-colors #90

Title
Mastermind: 4-colors #90
CodeType
colors
CodeLength
4
ColorCount
4
Colors
  • Red
  • Blue
  • Green
  • Yellow
SecretCode
  • Blue
  • Red
  • Red
  • Green
Guesses
  • {"guess":["Red","Blue","Green","Yellow"],"blackPegs":0,"whitePegs":3}
  • {"guess":["Blue","Green","Yellow","Red"],"blackPegs":1,"whitePegs":2}
  • {"guess":["Blue","Blue","Green","Green"],"blackPegs":2,"whitePegs":0}
  • {"guess":["Green","Red","Green","Green"],"blackPegs":2,"whitePegs":0}
  • {"guess":["Green","Green","Yellow","Green"],"blackPegs":1,"whitePegs":0}
  • {"guess":["Green","Blue","Yellow","Blue"],"blackPegs":0,"whitePegs":2}
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.