Ribbon Cable - Color-coding

Color-coding

To reduce the risk of reversed connections—which could potentially damage hardware—either when making a cable or when using a cable with unpolarized connectors, one edge of the cable is usually marked with a red stripe. By convention the edge with the stripe is connected to pin 1 on the connector. This method of identification is fine for cables that just consist of two or more IDC connectors with every connector connecting to every wire, but is somewhat less helpful when individual wires or small groups of wires must be terminated separately.

To make it easier to identify individual conductors in a cable; ribbon-cable manufacturers introduced rainbow ribbon cable, which uses a repeating pattern of colors borrowed from the standard resistor color code (Brown is pin 1 or pin 11 or pin 21, etc. Red is pin 2 or pin 12 or pin 22, etc.). It is often known affectionately to its users as "hippie cable" due to its distinct appearance. However, this has remained a specialized and relatively expensive product.

Read more about this topic:  Ribbon Cable