The two black are grounds...the Red is 12 volt(i think) the yellow is 5.....And if your really super slick you make a 7 volt by using the 5 volt as ground...nice trick for quieting down big 120mm...