I'm looking to splice wires from a DB-sub (9 pin) connector out to a breadboard but I'm getting different pictures for color-coding which makes me confused. What's more confusing is the connect I have only has 4 wires form the cable despite having 9 pins. The colors (red, black, brown, and orange) include some colors not listed in the color code I found below. I must be looking at the wrong color code but I don't know where to find the right one? Thanks

DB9 Color Code.

  • 1
    \$\begingroup\$ why do you feel that all 9 pins should be used? \$\endgroup\$
    – jsotola
    Commented Jun 9, 2019 at 23:27
  • \$\begingroup\$ Many DB9 have only 3 pins wired: TXD, RXD and Ground. No idea why four, though. \$\endgroup\$
    – DoxyLover
    Commented Jun 10, 2019 at 7:10
  • \$\begingroup\$ Thx for the insight. I guess I’ll have to play around with what wires and connections end up working \$\endgroup\$
    – Seth Shill
    Commented Jun 11, 2019 at 5:39

1 Answer 1


There is no standard for color codes. The chart you found seems to be using the resistor color codes, but shifted by 1 for some reason.

You're just going to have to "buzz out" the connections one-by-one using an ohmmeter or something.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.