For level 12 in Doors on iPhone, the color sequence is: black then red, red then white, and red then black. Once you've entered it, press the door to open it and move on. If you'd like a visual reference, screenshots of the solution are widely available online.