The game is structured that, if you know what you are doing, you can always within its 4 turns. Example:
Turn 1: You try 3 ingredients + 1 wrapper. Result: 1 ingredient is yellow, the other 2 red. Wrapper is red. Let's call this yellow ingredient Yellow1 and it was in slot 1.
Turn 2: Try 3 all new ingredients. Don't put the previous turn's yellow into some other slot. Save that for later. You have to identify as fast as you can the other 2 ingredients. Try new wrapper. Result: Wrapper is red. 1 ingredient is yellow (Yellow2 in, say, slot 1), other 2 is red. Thus, you now know