Yes, The wires are as follows;
Red; 12 volts +
Black Ground
Yellow; Tachometer
Blue (if present) PWM (pulse width modulation) control wire.
Note; Older BIOS(s) control the speed of the CPU fan (or don't) by varying the voltage delivered to the fan.
Newer BIOS (Intel especially) control the fan by the duration of time that full voltage is applied to the fan motor. Hence "pulse width". It's simply a full voltage, time on, time off strategy.
Three wire fans will work on 4 wire PWM motherboards, and accurately report fan RPMs, but, to actually vary the fan's speed, a fan controller must be in the fan circuit.
Also for drives, there are 4 wires, yellow, 2 black and red. Are they for different
voltages? Do different drives need different voltages?
In 4 wire "Molex" type connectors, the Red wire is 5 volts +, the Yellow wire is 12 volts +, and the 2 black wires are a ground for each voltage.
No, generally speaking, different drives don't need DIFFERENT voltages, they need BOTH voltages, for different purposes.
Oh, we're glad you're up and running, and you're quite welcome.