Can you solve it?

How to play:
- Guess the right code
- Green - Correct
- Yellow - Wrong place
- Red - Incorrect