DC Computer fan leads are usually 2, 3 and 4.
Usually, there are the following colors and corresponding functions:
Red ------- represents the positive pole of the power supply.
Black -------- represents the negative pole of the power supply
Yellow represents FG or RD signal detection.
Blue or white - PWM speed regulation.











