LAN Cable Color Coding Guide & Generator
Visual RJ45 pinout for T568A, T568B, crossover, and rollover cables, with the split-pair rule that trips people up, a crimping walkthrough, and a Cat5e–Cat8 comparison.
Select Cable Type
End 1 (T568B)
End 2 (T568B)
When to use this cable?
Straight-Through (T568B) is the most common wiring in North America. Both ends match, so it connects a computer, phone, or access point to a switch, router, or wall jack. Pick one standard and use it on both ends.
Why this exact order — and why you can't “simplify” it
The colors are not arbitrary. Pins 1&2 and pins 3&6 each have to come from the sametwisted pair, because a pair's two wires are twisted together to cancel interference. Notice pin 3 (white/green) and pin 6 (green) are the same pair even though pin 4 and 5 (blue pair) sit between them — that split around the blue pair is deliberate and is what makes an RJ45 jack compatible with old two-pair phone wiring. If you “tidy” the order so 3, 4, 5, 6 go green, green, blue, blue, you break the pairing on pins 3 and 6, and the result is a split pair: it will often pass a basic continuity test and even carry 10/100 traffic, then fail intermittently at Gigabit. Follow the color order exactly.
The color order is a checklist, not decoration
An RJ45 plug, formally an 8P8C connector, seats 8 pins, and a network cable carries 8 wires bundled as 4 twisted pairs. A wiring standard exists to say which colored conductor lands on which pin. Get it right and both ends agree; get it wrong and the run either fails outright or works just well enough to pass a quick check, then drops packets under load. T568A and T568B are the 2 pin orders defined by ANSI/TIA-568, first published in 1991, and the single most useful fact is that they are electrically identical, so choosing between them concerns consistency, not throughput. Terminate both ends to T568B for a straight-through lead; terminate 1 end to T568B and the far side to T568A, and you have built a crossover.
Why the sequence looks scrambled. Under T568B, pin 1 is white/orange, pin 2 orange, pin 3 white/green, pin 4 blue, pin 5 white/blue, pin 6 green, pin 7 white/brown, pin 8 brown. Notice the green pair is split: position 3 carries white/green, yet its partner sits on position 6 as solid green, with blue parked between them. This is deliberate. Pins 1 with 2, and pins 3 with 6, must each form 1 twisted pair, since twisting cancels interference, and seating blue on positions 4 and 5 keeps an 8-slot jack backward-compatible with the 2-pair and 3-pair wiring analog telephones used. Rearrange those conductors so green and blue turn adjacent across slots 3 through 6, and you spread 1 electrical pair over 2 physical twists. Engineers name that a split pair: it clears continuity, frequently carries 10 and 100 Mbps traffic, then collapses once 1000 Mbps arrives. T568A merely trades the orange and green groups, so slot 1 becomes white/green while slot 3 turns white/orange; the blue and brown pairs never shift.
Crossover cables are mostly history
This variant joins 2 like devices, computer to computer or switch to switch, by exchanging transmit against receive so each side hears what the opposite plug speaks. Across 10BASE-T and 100BASE-TX, which energize only 2 of the 4 pairs, that swap meant T568B facing T568A, reversing orange versus green on slots 1, 2, 3, and 6. Gigabit behaves differently: 1000BASE-T drives all 4 pairs bidirectionally, so a genuine 1 Gbps crossover, described during 1999 within IEEE 802.3ab, exchanges 3 pairs instead of 2. You seldom fabricate one now, because Auto-MDIX, introduced beside gigabit silicon, senses the link and flips pairs inside the port, letting an ordinary straight lead suffice. The lone pinout still wired by hand daily is the rollover, or Yost, console cable, which mirrors every slot end to end so 1 meets 8; it ferries serial management toward a Cisco console port, never Ethernet frames.
The category sets the speed, not the colors
Cat5e, Cat6, Cat6a, and Cat8 share identical T568A and T568B coloring, so the diagram above governs every grade. What differs is construction: denser twisting, 24 down to 22 AWG copper, a longitudinal spline isolating each pair, plus heavier shielding as frequencies climb. Cat5e certifies to 100 MHz and 1 Gbps. Cat6 attains 250 MHz yet sustains 10 Gbps only near 55 metres. Cat6a widens that envelope to 500 MHz and holds 10 Gbps along a complete 100 metre channel, which is why it anchors most fresh structured cabling. Cat8 escalates toward 2000 MHz and 25 through 40 Gbps within roughly 30 metres inside data centers. Cat7 plus Cat7a follow ISO/IEC class F and FA shielding tiers and never earned TIA ratification, so Cat6a and Cat8 win actual deployments. Shield labels encode construction too: U/UTP stays unshielded, F/UTP wraps a single foil around the whole bundle, and S/FTP foils every pair beneath an outer braid.
Power and the pairs beyond data
Modern switches push Power over Ethernet down the same 8 wires. 802.3af from 2003 delivers 15.4 W, 802.3at from 2009 raises that to 30 W, and 802.3bt from 2018 reaches 60 W at Type 3 and 90 W at Type 4 by energizing all 4 pairs. On 10 and 100 Mbps links only pins 1, 2, 3, and 6 move data, leaving pins 4, 5, 7, and 8 free, which is exactly why early PoE and some 4-pair phone splitters worked. Gigabit changed that: 1000BASE-T occupies every pin, so any splitter that steals pins 4 through 8 breaks a 1 Gbps link even though 100 Mbps survived. Crimp geometry matters as well: solid-core conductors, common in in-wall runs rated for 100 metres, want 3-prong contacts, while stranded patch cords under 5 metres want 2-prong contacts, and mixing them causes flaky links weeks later. Strip roughly 25 mm of jacket, keep untwist under 13 mm, and a Cat6a channel still clears its 500 MHz sweep.
What this tool is, and what it can't check for you
The page serves as reference and visual aid: it renders correct coloring for each cable type, clarifies why the sequence exists, and copies the 8-slot order onto your clipboard. Processing remains inside your browser; nothing uploads anywhere. What it will not do is inspect hardware you already crimped. Only a wire-map tester confirms that all 8 conductors run continuous, seat on intended slots, and remain correctly paired, and that single instrument exposes a split pair before it triggers intermittent gigabit dropouts. A bargain continuity beeper misses the fault entirely, lighting all 8 lamps even while a pair is divided, because each strand technically reaches the opposite plug. Treat this coloring as the blueprint, and a real wire-map tester as the proof.
How to Use
Pick the cable type you are making — Straight-Through (T568B) covers almost every PC-to-switch run.
Read the pin-by-pin color order for both ends in the visualizer, or hit Copy pinout to paste it beside your crimper.
Follow the Patching Guide to strip, arrange in exact order, crimp, and test.
Check the Cable Categories tab to match the cable grade (Cat5e, Cat6, Cat6a…) to the speed and distance you need.
Features
Common Questions
About LAN Cable Color Coder
An interactive RJ45 pinout visualizer for T568A, T568B, crossover, and rollover (console) cables, with a copy-to-clipboard color order for both ends. It explains the part that actually trips people up: why pins 3 and 6 must share a twisted pair (the split-pair rule) and how re-ordering the wires creates a fault that passes a continuity test but fails at Gigabit. T568A and T568B are electrically identical, so the guidance is honest about when each is preferred and why Auto-MDIX has made crossover cables largely unnecessary. A step-by-step crimping walkthrough and a Cat5e-to-Cat8 comparison of speed, bandwidth, and shielding round it out.
Also known as: ethernet cable colors, rj45 wiring, lan cable order, t568b t568a, rj45 pinout, network cable color code, cat6 cable order, crossover cable pinout, straight through cable wiring, rollover cable, ethernet wiring diagram, how to crimp rj45, split pair cable, cat5e color code.
Processing Note
LAN Cable Color Coder runs in your browser, so the input you enter is processed locally on this page and is not uploaded to a ToolMintX account.
Tool Limits
IT tools provide quick diagnostics and transformations. They cannot see every private network, deployment setting, proxy, firewall, or production edge case.
Explore More
AI VRAM Calculator
Estimate GPU VRAM for LLM inference and training using model, quantization, users, and context length.
Client-sideAI API Cost Calculator
Compare and estimate AI API costs across OpenAI, Claude, Gemini, DeepSeek and more for text, image, video, and embeddings.
Client-sideAPI Key and .env Secret Generator
Generate secure .env secrets plus selectable Hugging Face, OpenAI, JWT, database, and webhook variables.
Client-sideSubnet Calculator
IPv4 subnet calculator: network and broadcast address, subnet and wildcard mask, usable host range, and host count from any IP and CIDR prefix.
Client-side