Rj45 Color Code

Look for  RJ45 color code a , b and standard make a ethernet crossover cable or a straight throught cable , RJ45 or Registered Jack 45 , is the one of the most popular component in computer and communication network. Anyone working in networking field came across this connector every now and then. Because of this connector different devices talk with each other.

RJ45 connector has a plastic body and inside it there are 8 conductor wires. This connector is used on both the ends of UTP cables. UTP cables having RJ45 at both end, is either a cross cable or straight through cable. There are 8 wires in every UTP cables, there is a pattern on how to place them in correct position in RJ45 connector to get desired functionality. This is achieved by following RJ45 color code scheme.

Color coding is a pattern that tells you how to place 8 UTP wires in RJ45 connector to get a working cable. There are two popular color coding standards TIA/EIA 568A and 568B. It's very important to get familiar with these two color code standards if you are working in networking field, as these color coding standards are used to make Straight Through and Crossover Cables.

We start the article by having a look at what TIA/EIA 568A & 568B color coding standards are and then we will see how this is used in making Straight Through and Cross Over Cable. These standards are used on Ethernet wires and can also be classified as Ethernet Color Code.

Following diagram illustrates T568A and T568B RJ45 color code standard. On left is 568B and on right is 568A color code standard. We look into each of this standard one by one.

RJ45 color code connector ethernet cat5 cat6

RJ45 Color Code TIA/EIA 568A :

It is one the oldest color coding standard available these days but it's not widely used now a days. Introduced in mid 1980s, the color pattern in 568A standard is as follows

RJ45 Pin No            Color Wire
1                              Green White
2                              Green
3                              Orange White
4                              Blue
5                              Blue White
6                              Orange
7                              Brown White
8                              Brown

RJ45 Color Code TIA/EIA 568B

The second TIA/EIA standard is 568B, it is not very old but is most popular color code standards and is used in making Straight through cable. The color pattern in 568B standard is as follows

RJ45 Pin No        Color Wire
1                          Orange White
2                          Orange
3                          Green White
4                          Blue
5                          Blue White
6                          Green
7                          Brown White
8                          Brown

having getting familiarity with TIA/EIA 568Aand 568B its time to get how these two standards are used in straight through and crossover cable.

Crossover Cable Color Code :

Crossover cable is used to connect same type of networking devices. for example, they are used when connecting

  • Switch to Switch
  • Laptop to Laptop
  • Router to Router

Cross over cable can be made by using either 568A or 568B on one end of RJ45 connector while using opposite color coding at the other end. This means

  • If on one end we are using 568A, other end must uses 568B.
  • If on one end we are using 568B, other end must uses 568A

Following is an example of cross over cable. We can see that left side connector is using 568B while other end is using 568A. To summarize, both end of UTP cable should have opposite color coding standard.
RJ45 color code connector cable crossover a or b

There is a logic behind changing wire combination at 1,2,3 and 6 at both ends. We can see that wire 1 and 2 on left are terminating at 3 and 6 on the right, while 3 and 6 on left are going on 1 and 2 on right, rest combination at 4,5,7 and 8 are same at both ends. This is because crossover cable is used to connect different type of networking devices, so when device on left is sending at pin 1 and 2 its received at pin 3 and 6 on the right. Whereas pin 3 and 6 on left are receiving what devices on right is sending. Without this crossing of cable at both ends, communication between both different devices is not possible.

Straight Through Cable Color Coding:

Straight Through Cable is used to connect similar type of networking devices. You need this wire while you are connecting

  • Switch to Router
  • Router to Computer
  • Computer to switch

Following is a diagram that shows a Straight Through Cable that is using 568A color coding. It's difference from crossover cable is that, both end are following same type of color coding standard. Here both end of UTP cable has 568A color code standard.

Following is Straight Through Cable that is using 568B of Rj45 Color Coding standard. Both ends of this cable has 568B standard.

RJ45 color code A

To summarize, if one end of UTP cable is using 568A color code standard than other end must also use 568A, same holds true for 568B.

RJ45 color code ethernet

Now that we have seen both 568A and 568B color code standard and how they used in making Straight Through or Crossover cable. We can see that both these standard have small difference only green and orange pairs are swapped while remaining combination remains unchanged.

Automatic Medium-Dependent Interface Crossover (Auto-MDIX)

It's important that if you are working in the field of computer networking then you must have knowledge about color code standards and which combination is used while making Straight Through or CrossOver Cable. It's also important to mention about Automatic Medium-Dependent Interface Crossover (Auto-MDIX) standard. Almost all networking devices available today supports Automatic Medium-Dependent Interface Crossover (Auto-MDIX) standard. The auto-MDIX standard has been devised so that devices can adjust automatically there sending and receiving pins, now devices by themselves can decide that which type of cable is used and adjust their sending and receiving parameter. Which means you can use straight through to connect same devices as well as different devices and same hold true to cross over cable.

So if you have only Straight Through Cable and you want to connect same type of devices like a switch to switch, you can connect them using Straight Through cable as both end of switches will adjust sending and receiving pins.

This video explain how to crimp pinout rj45 color code :

Cat 5 Color Code Wiring Diagram

In this article I will explain Cat 5 Color Code order , Cat5 Wiring Diagram and step by step  How to crimp cat5 ethernet cable standreds a , b crossover or straight throght
In order to use UTP(Unshielded Twisted Pair) cables you have to terminate both ends of cable across an RJ45 (Registered Jack 45) connector.

As there are 8 wires in every UTP cables, you have to follow color coding standard on where to place each wires at RJ 45 connector. If you are using UTP cat 5 cable than you have to follow cat5 color code in order to make a working cable.

There are two color code standards TIA/EIA 568A 568B for making a working network cable. These standards will help you understanding any Cat 5 Wiring Diagram. Following is diagram of 568A and 568B color code standard

cat 5 wiring diagram color code a or b  stright  crossover cable

These both standards are used in making cross over or straight cable. 568A was first color code standard introduced in mid of 1980 and is rarely used now a days. The second one is 568B, it's the most popular one and still in use. 568B is widely used in making straight trough cables by cable manufacturer.

In order to make crossover cable you have to keep one end of cable as 568A or 568B and second one the opposite to that. For instance, if you are using 568A on one end than second end must be 568B.

For straight through cable both end of cables must follow same standard. for instance if you are using 568A on one end than other end must also use 568B.

Once you know about these color code standards the next task is to get understanding of how to make a straight or

How to crimp cat5 ethernet cable with color code :

Following are steps on how to crimp a cat5 cable , or cat 5 color code.

Step 1
In order to get started, first thing you have to do is cut the outer jacket of UTP cable using either a stripper or crimping tool. You can cut as much you want but good practice is that jacket of cable should be inside the RJ45 connector.

Step 2
After removing the jacket you will get four pairs. You have to separate each wire for putting it into RJ45 connector. Depending upon the color coding you are using separate each pair, as shown in diagram below.

Step 3
After getting all eight pairs separated, align all eight wires as per your coding standard (as shown in step 3 diagram).

Step 4
One you have all your cables aligned, next thing you have to do is cut them from top. Make sure they all have same point of cutting as shown in figure so that they can fit well into the RJ45 connector.

Step 5
After cutting your cables place your cables in your RJ45 connector make sure all 8 wires are well inside the connector.

Step 6
.After you placed cable in the RJ45 connector , place the RJ45 connector in the crimping tool and press it. Purpose of this is to make connection of UTP cables with RJ45 conductors. Make sure they both meet each other.

Step 7
After getting it done on both ends test your cable your cable tester. different cable tester have different ways of telling you have crimped the cable correctly. After getting green signal from cable tester you can use your cable

Straight Throught Cable Color Code Wiring Diagram

This article shows a Straight Through or straight Cable Color Code with  Wiring Diagram , In computer networking field, Straight Through Cables are used to connect different networking devices with each other. You have to use a Straight Through Cable while connecting a

  • Router to Switch
  • PC to Switch

Majority of patch cables used in networking world these days are Straight Through Cables.
UTP (unshielded twisted pair) cables are used to make Straight Through Cables. Following is diagram of how UTP cable looks like

Both end of these UTP cables are truncated at RJ45 (Registered Jack 45) connector.
We can see from above diagram of UTP cables that there are eight small wires in it, these eight small wires are twisted in four pairs. Each pair has different color scheme. In traditional 10/100 Mbps networks only two pair of wires are used for sending and receiving, while in new gigabit standard all four pairs are used for data transmission.
To understand how these types of cables work, it's important to have sound understanding of Straight Cable Color Code.

Standards of Straight Cable color code :

There are two color coding standards for straight through cables, these are EIA/TIA 568A & 568B. These color coding standard tell which color is connected to which end. We now look at details of these wiring standards.

T568A Color coding Standard

This color coding standard is not widely used these days. Below is diagram of straight  cable color coding based on 568A  standard.

Straight through cable color code wiring diagram a

Next we illustrate sending and receiving pins in 568A color coding standard.

Pin No   Wire Color Transmitting/Receiving
1       White/Green Transmitting
2               Green Transmitting
3         White/Orange Receiving
4                 Blue -
5          White/Blue -
6              Orange Receiving
7        White/Brown -
8              Brown -

 T568B Color coding Standard

This is the most widely used color coding standard of current era. Almost all  Straight through cable these days are following T568B color coding standard. Below is straight through cable color code and  wiring diagram that is using 568B standard.

straight through cable color code wiring diagram b

Next we illustrate sending and receiving pins in 568B color coding standard

Pin No Wire Color Transmitting/Receiving      
1        White/Orange Transmitting
2             Orange Transmitting
3      White/Green Receiving
4                 Blue -
5        White/Blue -
6                Green Receiving
7     White/Brown -
8              Brown -

It's called straight through cable since all wires are connected at same pins on both sides of wires. You can see that in both figures of 568A as well as in 568B.
There is not much difference between 568A and 568B, you can see from above diagrams that only green and orange pairs are swapped, rest combination remains same.
An important point to remember is that whether you use 568A or 568B, make sure both ends of wire is following same standard. Which means if one end of wire has 568A standard, other end must also have 568A and vice versa.

Automatic Medium-Dependent Interface Crossover (Auto-MDIX)

Today's devices are getting intelligent, due to introduction of Auto-MDIX standard. With Auto-MDIX, devices can automatically adjust sending and receiving pins. So any wire can be used for connecting same or different devices.

Are You Interested in a :

Crossover Cable Color Code Wiring Diagram

look for a Crossover cable color code with a wiring diagram for rj45 Crossover Cable or Cross Cable is a type of Ethernet Cable that is used to connect similar types of networking devices, in contrast to Straight Through Cable which is used to connect different devices. For instance, you need cross cable if you are connecting

  • PC to PC
  • Switch to Switch
  • Router to Router

To understand Crossover Cable working, it's important to understand the crossover cable color code i.e. pattern in which wires are connected to RJ-45 connector. We start by looking at the diagram.

Crossover Cable Wiring Diagram

crossover cable color code wiring diagram

We can see in the above diagram that the left side is following 568B color coding and the Right end is following 568A color coding.

Crossover Cable Color Code TIA 568B

The following Table illustrates TIA 568B color coding scheme which is applied on the left end of the cable in Crossover Cable Wiring Diagram.

Pin No Wire Color       Transmitting/Receiving
1        Orange/White       Transmitting
2          Orange               Transmitting
3       Green/White       Receiving
4          Blue                    -
5      White/Blue                    -
6       Green               Receiving
7      White/Brown            -
8       Brown                    -

Crossover Cable Color Code TIA 568A

This color-coding standard is applied on the right end of the cable in Crossover Cable Wiring Diagram.

Pin No   Wire Color Transmitting/Receiving
1        White/Green Transmitting
2         Green         Transmitting
3      White/Orange Receiving
4            Blue              -
5     White/Blue              -
6       Orange         Receiving
7     White/Brown      -
8       Brown              -

To make a crossover cable one end of the UTP cable has to follow either TIA 568 A or B Color coding, while the other end must have different color coding. In short, both ends must have different color coding schemes. Use the following guidelines while making the cross cable.

  • If one end of the cable has 568A color coding then the other end must follow 568B color coding. 
  • If one end of the cable has 568B color coding then the other end must follow 568A color coding.

This is different than straight through cable in which both ends of the cable must have the same color-coding standard at both ends, look for a Straight cable color code.

Why to Use different oF crossover cable color coding

As in UTP, there are eight wires twisted together in four pairs. In Fast Ethernet pin 1 and 2 of the RJ-45 connector are reserved for transmission while pin 3 and 6 of the RJ-45 connector are reserved for receiving. As pin 1 is transmitting so it cannot be connected to pin 1 at the other end since that too is transmission mode. It follows that pin 1 should be connected to pin 3, which is in receiving mode.
To sum up pin 1 and 2 from device A is connected to pin 3and 6 of device B, while pin 3 and 6 of device A are connected to pin 1 and 2 of device B.
It's named crossover cable since wires are cross-connected at both ends of RJ-45 connectors

Automatic Medium-Dependent Interface Crossover (Auto-MDIX)

It's important to have a good understanding of color-coding schemes in crossover and straight-through cable but today almost all networking devices support Auto-MDIX, by which devices can automatically detect which cable is required and switch to it automatically. So if you are connecting similar devices and you only have a straight-through cable, you can use it.

GFCI Outlet Wiring Diagram

The pic below shows the electrical outlet GFCI wiring diagram and step how to wiring multiple outlet gfci  (round-fault circuit interrupter) with color code

What is GFCI Outlet ?

What is GFCI so it means “ground-fault circuit interrupter” which works mainly as to protect human or device also from connected to electric shock from electrical power. It is also called Residual Current Device (RCD) that shuts off an electrical power circuit detecting that undesirable path is following by electricity like through water or any living thing.

Also we have to define GFCI from NEC as “a device or instrument as shown below works for protection of any connected personnel which disturb the function of electricity to some circuit or another device”.

Purpose of GFCI :

Ground Fault Circuit Interrupter GFCI is a device which secure person from electric shocks from faulty currents in the electrical devices we use in our daily lives. It works by comparing the input current on the ungrounded side (red-wire) to the output current on the neutral side (black-wire).

GFCI Outlet Wiring Diagram :

In the GFCI mainly two wires connect as also shown in a diagram, the current flowing from the source and coming back are some due to current laws. So GFCI designed as checking the difference between the current leaving and returning through current transformer of the GFCI to protect device exceeds 5mA. The wiring diagram also shown below as follow;

gfci outlet wiring diagram electrical installation colo code

This shows 2-wire 14 gauge cable with grand wire having supply of power supply and connected GFCI. So, the solid-state-circuitry opens the switching contacts and de-energizes the circuitry as shown in the figure2 also. This will happens when GFCI is in on-conditions and when it fails to work the switching contacts remain closed and the device still giving the power with zero protection as to us. So also dangerous when fails. While damages occurs from voltage sparks from lighting and other transients.

 GFCI and light switch Wiring Diagram :

We are now studying wiring of GFCI and how it connects to light the bulb as also shown in figure below

gfci outlet electrical wiring diagram with light 2 way switch

SO there is a power supply supplying power to the circuit while black wires shows ground currents and white shows the non-grounded wires or called HOT wires. While green wires are for removing faulty currents to ground for device protection. As 2-wire cable with ground connect to the other side of GFCI so connected both the protective sides of GFCI to the device for protection of both a device and a person using it from any circumstances and shock from electricity as shown above in the figure above.

Multiple GFCI Outlet Wiring Diagram :

We have two types of wirings as single wiring as discussed above and another one is multiple GFCI wiring and we also attach the diagram to show how the wiring is done by designer or electrical engineer.

multiple gfci electrical outlet wiring diagram

We applied power supply either 230V/50Hz or 120V/60Hz where white is neutral and black is called “Hot” wire or calls non-grounded wire which connected to one terminal of GFCI while earthed-ground also shown in green wire which will protect our device from any non-relevant faults from power supply as given. GFCI is able to measure the fault current and sense the ground fault which is actually interrupted by GFCI.

Multiple GFCI  Outlet Wiring Diagram :

multiple gfci outlet wiring diagram electrical

The above diagram shows the GFCI wiring to Multiple Outlet as in white while the pictures are same.  One side of the GFCI connected to the ground (neutral wire as shown white in the diagram) and another side to the high potential (hot wire shown as black in the diagram) shows as in black color.  The socket of GFCI indicates as one pair in each for protection of any circumstances because of any switching-impulse withstand voltage or any switching-impulse withstand voltage while the timing for short-duration power frequency withstand voltage is from zero to 60 seconds. 

Conclusion on GFCI protection:

Press the test feature of the GFCI protection device to ensure it works. These are excellent devices when properly wired. However, never assume a GFCI protection device is operational unless you test it. The good process is to check a GFCI is to use a circuit tester that has its own GFCI test button and plug in the tester and push its test button. If the power goes off, the GFCI is working. Press the reset button to restore power as shown in figure1 also.

Are You Interested in article :

Electrical cable Wiring Diagram Color code

Look for a house Electrical wire color code guide: This article describes the new electrical cable color code wiring diagram ac and dc in United States,uk,Canada,Europe for single phase or three phase In Electrical engineering, different wires have different color codes. This makes it easy to differentiate and identify each wire .In diagram the live wire has a different color from the neutral wire and the earth wire. It is also useful for separating the three phases for three phase connections. And most importantly, it is good for safety purpose. The properties of one wire could be different from the properties of another and misplacing connections could be fatal to personnel handling the connections. The color coding convention in Europe is different from that of the United States, canada , united kingdom and australia.

Electrical Wire Color Codes In Europe :

In Europe, the standard used is specified by the IEC (International Electrotechnical Commission). The wiring standard was initially published as IEC 60446 but in 2010, it was merged into IEC 60445.

electrical cable color code wire diagram in europe live phase neutral

 - For single phase wiring, the new European color code use

  •  Brown color for live cable,
  •  Blue color for neutral cable 
  • Striped green and yellow color for the earth/ground cable.
 - For three phase wires color code:

  • Brown color is used for line 1, 
  • Black color is used for line 2 
  • Grey color is used for line 3.
 The new European color code takes account of proper phase rotation. The new standard was adopted to prevent people from confusing the protective earth wire with other electrical wires. It also protects people that have red-green color blindness.  In the old IEC color code, all lines in the three-phase supply were black or brown and that caused so much confusion.

The United Kingdom now use the new IEC color code format. The United Kingdom used its own color code till 2004. In March, 2004, the UK adopted the IEC color code.  

Electrical Cable Wiring diagram in the United States :

There are two color codes available in the United States for different voltages. For 120/208/240 V single phase, the live cable is lack or red, the neutral cable is white colored while the protective earth can be green, bare or striped green and yellow in color.  For three phase 120/208/240 V, the first phase is colored black, the second phase is colored red while the third phase is colored blue.

electrical usa cable color code wire diagram standard 3 phase

For 277/480 V AC power, the neutral power is colored gray while the earth is colored green, bare and striped green and yellow. The phase 1 is colored brown, phase 2 is colored orange, the phase 3 is colored yellow. The 277/480 V AC systems are usually used for industrial equipment and motors.

3 phase electrical cable color code wire diagram  live  neutral

Bottom Line

The color code convention for each region should be followed. It will prevent electrical shocks due to wrong identification and inappropriate connections. When you are faced with a tangle of wires and you need to do or repair some wiring, take note of the house electrical color coding wiring of that country.

Uk electrical  power cable color code wiring diagram :

The United Kingdom and Europe use the same color coding while the United States has its own color coding convention. Indicator lights on panel boxes usually use this same color coding convention. It must also be noted that older connections may use different color codes

 Uk electrical  power cable color code wiring diagram

 -  single phase wiring, the united kingdom color code :
  •  Brown color for single phase
  •  Blue color for neutral cable 
  • Green with Yellow Stripe for the earth/ground cable.
 - three phase wires  :
  • Phase 1 - Brown
  • Phase 2 - Black
  • Phase 3 - Grey

Canadian Electrical Cable Color Code Wiring Diagram :

Canadian electrical cable color code wiring diagram

- Single phase canadian color code
  • Single Phase 1 - Black or Red (2nd hOT)
  • Neutral - White wire
  • Ground - Green with Yellow Stripe
- Tree Phase canadian color code :
  • Phase 1 - Red wire
  • Phase 2 - Black wire
  • Phase 3 - Blue wire
  • Neutral - White wire
  • Ground - Green with Yellow Stripe

Astralian electrical cable color code wiring diagram :

Australian Installation Cable Color Code :     


Australian Installation wiring color code single phase
  • Active or live - Red wire
  • Neutral -  Black wire
  • Earth  -  Green/Yellow 
Australian Installation 'Building' Wiring Three Phase
  • Phase 1 - Red
  • Phase 2 - White 
  • Phase 3 - Dark Blue 
  • Neutral - Black
  • Earth - Green/Yellow                                                                                                                                                          

Australian Equipment Wire Color Code 

Australian Equipment wiring Color Code single phase
  • live - Brown
  • Neutral - Light Blue
  • Earth - Green/Yellow
New cable  colour code for  Three Phasee
  • Phase 1 - Brown
  • Phase 2 - Black
  • Phase 3 - Grey
  • Neutral - Light Blue
  • Earth - Green/Yellow

Are You Interested in article :