As far as what wire to use, if it's outside, you must use UF, if it's inside, you can use UF or NM-B (a.k.a. Romex). If you want to use stranded wire, it must be THHN/THWN/THW (usually you can buy THHN wire that is rated for all 3... the W means wet, as in outside) and must be in a conduit/liquid tght flexible (for outside). As for the colors, the bare/green is the ground, all grounds should interconnect with the ground from the main service (correct me if im wrong please, I don;t have my code book handy). The white wire has to be neutral... that its, it must be connected to the grounding system at some point... positive or negative ground, it's up to you. The black is the hot. Also, you can use any color except green, white, or a wire with 3 white stripes as a hot. Also, keep in mind that:
#14 is rated 15 amps
#12 is rated 20 amps
#10 is rated 30 Amps
_For romex
#8 - 40 Amps
#6 - 55 Amps
__For THHN_
#8 - 55 amps
#6 - 75 amps?