Codebreaker

Crack the hidden colour code

Right colour, right place
Right colour, wrong place
Not in the code
Hint pegs are not in any particular order — they don't tell you which colour they refer to.

Code Cracked!

Splendid work.