USB Cable has four wires inside of it — usually, it's a red, green, white, and black cord.
* Red color indicates the positive wire with 5 volts of DC power.
* Black has always been the ground wire in almost all electronic devices.
* White is the data as a "positive" wire, while
* Green is also for the data , but as the negative wire.
If USB cable has color combinations, like orange, blue, white, and green then -
* Orange is the positive, with 5 volts of power in the DC (direct current).
* White indicates a ground wire, meaning the negative wire.
* Blue corresponds to the negative data
* Green as the positive data.