Not sure if color coding is going to help much, but here's what I would do. If it's a dual entry cable (like, wires go into both earcups) then there's a 100% chance of there being 4 wires inside (balanced). So just cut the 1/4" plug off with a bit of the cable behind it that you can strip and identify. Figure out which wire is right, left, and which are the 2 grounds - the grounds go to the sleeve of the plug, right to ring, left to the tip. To figure out which ground goes to right earcup and which to left, take one of the grounds and a multimeter (set to check continuity) and touch one lead to the ground. Then, touch the other lead to the left or right wire, with the headphones on. If you hear a crackling sound with the ground (and see resistance on your meter) you know that the ground goes to that earcup. If you hear nothing, try the other channel. Then, solder up that 4 pin XLR - pins 1, 2, 3, 4 are L+, L-, R+, R-.