is a brown wire the same as a black wire?

usb cable. and no there is no black wire

Never trust the color of a wire. There are no strict guidelines when it comes to the wire color in most cables. So it's always best to verify with a meter.
bwrussell4 years ago
Look up a pin-out diagram for the type of usb plug you're looking at. If you're still unsure verify with a meter.
Check. Use a meter to trace it.