Yes... most 5.1 system have either 3 cable connection AND/OR a digital connection.
NORMALLY, speakers are green, mic is pink/red and line-in is blue, but that depends on manufacturer. Look in the manual for your motherboard. If you don't have the manual, download one.