ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Inside The USB Wire Color Coding

Updated on December 18, 2015

USB wire and its color code

Many electronic devices these days use USB cable which will be connected to the CPU of a computer system. This is a USB driven device or anyone can say that thing as USB wire or sometimes USB cord.

USB colors of wires inside a USB cable/cord wire: red, black, green and white
USB colors of wires inside a USB cable/cord wire: red, black, green and white | Source

What is USB and its Technology

The invention of USB technology paved the way to greater heights of moving, copying and executing computer files.

Since USB cable is used on daily basis of most workers today, It is good to know what is inside the USB wiring.

USB stands for Universal Serial Bus. If we try to cut and slice through the USB cable itself and expose the wires, we can see four different colors of wires. This USB cord has its own USB color code.

The USB color codes in all USB wiring are almost the same. We can see a sample of USB cable color code shown in the photo on this hub. USB wire and its color code depend also on what manufacturer it is made from which indicates what kind of wire colors a particular USB cable wires has.

5 stars for USB Cable Wire and Color Codes

USB cable wires: red, white, black and green

Common USB colour codes are red, white, black and green. These USB wirings are corresponded to the color code labeled here.

USB color coding of wires inside a USB cable
USB color coding of wires inside a USB cable | Source

Color Codes of USB Wires Inside

If you can see the red wire inside of your USB cable, then be sure it is the positive wire. It has 5 volts in DC.

If another color you see is black, that is the opposite of red wire which will be coded as the negative wire or the ground wire.

The rest of the wires are the data wires. In the photo shown here, the set of wires and their codes are solely intended for this set of colors only. So the green and white wires of this USB cable take the data wires where green is the negative data wire with white wire as the positive data wire.

Most area of a USB where wires are torn or disconnected.
Most area of a USB where wires are torn or disconnected. | Source

What is your common USB problems?

See results

Other Set of USB Wires Inside A USB Cable/Cord

However, some USB color coded wires may be interchanged from their coding because of the various companies who made it.

One example of USB cable here or my USB mouse wire color code is also shown in my USB photo.

On this photo, I took a picture of my spare USB cable at home since I cut it to find a remedy on how I can manage to repair my own stuff like my media player charger. I find the photo very helpful to you, guys out there. I added few more photos of USB wires to give the full idea about USB cable/wire/cord.

Orange, Blue, Green and White wires inside the USB cable
Orange, Blue, Green and White wires inside the USB cable | Source

USB Wires: orange, blue, white and green

You can see the orange, green, white and blue wires of the USB. The positive wire in this set is the orange wire.

Negative wire takes the white colored wire. Green is the data wire which is positive and data wire in negative is the blue wire.

Common USB's have only four wires. All you need to do is to find the positive wire or the live wire to power your particular electronic device. Data wires in USB are the pathways of the signals from CPU to determine certain functions.

A media player powered  and charged by a USB Technology
A media player powered and charged by a USB Technology | Source

The Hazard of USB Voltage

May it be mouse, keyboard, webcam, USB charger, USB powered cooling fan or any USB electronic device, always look for the positive 5 volts wire and its negative counterpart to avoid hazard.

I know there are many techies who will ask if how dangerous a USB is. The five volts pressure was developed as an Industry Standard in mid-1990s to facilitate good use of the USB Technology.

Though, 5 volts DC is not harmful enough, it can cause slight damage to an electronic device.

You can also comment, suggest, add something or ask about the topic for more information. Thank you.

© 2014 Mark Johann


    0 of 8192 characters used
    Post Comment
    • Mark Johann profile imageAUTHOR

      Mark Johann 

      6 years ago from New Zealand

      Hi peach,

      It is indeed safe to cut and fix them ourselves because it is not that dangerous. It has only 5 volts DC which is not fatal. Of course, we need to disconnect first the USB wire from the system.

    • peachpurple profile image


      6 years ago from Home Sweet Home

      is it really safe to cut out the wires and fix them ourselves?


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
    ClickscoThis is a data management platform studying reader behavior (Privacy Policy)