an added note, most computer fans are 12v. by giving it 18v you are decreasing the life expectancy of that fan.
black=ground, red = +12v
explain what you meant by this dias.
I was reiterating that he doesn't need a wall wart, he can get 12v DC from a Molex (disc drive) power connector.
The colours of the wires denote the polarity & voltage.
Yellow, + 5v, black, ground (2 of these), red, + 12v
Rather than mess about I would use one of these, cost in Britain 2 UK pounds (about 4 US dollars)
Or one of these cost 5.99 UK pounds, about 12 $USD - this one has 12v (black/red) & 5v (black/yellow) fan connectors to give choice of speeds.
You can spend more and get ones that have a little module with a speed control knob and I saw one that a case modder would like that had red & blue LEDs and silver speed control knobs
But most motherboards have multiple fan headers on them, that fans plug into directly & I wonder why macdad didn't use one of those. Maybe there wasn't a spare one available?