Your question is totally meaningless. Colour of wires is totally irrelevant, the electrons don't care,we need to know where the cables go to/come from and what colours are connected at the other end. The incoming line terminates on the A&B connectors at the rear of the socket. Pins 2&5 on the removable faceplate are filtered connections to phone extensions.
The other end of the cable you are talking about, which go to extension sockets.
Obviously the colour of the wires need to be the same at the master socket as the extension socket. Presumably you have disconnected some wires in order to localise the fault you have posted on your other thread. All you need to do to prove the fault external to your house is remove the faceplate and connect your router to the test socket, that will eliminate your internal wiring. If you have disconnected some wires, check what colours are connected at the extension sockets and connect the same colours at the master pins 2&5.