QUOTE(zuozi @ Jun 18 2023, 12:25 PM)
You have few options actually
First option just install the pwm fan or 3 pin fan to your motherboard header or fan hub and the wire actually long enough exit from the original bulky wire hole then control the speed via motherboard bios or vise versa
The other options straight forward install a 2 pin fan cut off the header reused the old fan headers if needed
The other options 3 pin fan you need to loop the yellow and red together or the spinning speed just too slow, nowadays you hard to find color labeled 3 pin wire fan mostly black so you will need multi meter to test which is 5v and loop The other 2 together
2 pin red and black usually noise level quite loud
If you don't want so much hassle just do this example below

Why looping the yellow cable? the yellow cable is option for all fans, it's for rpm reading. all fan can be controlled via voltage.
2 pin fan is same as 3 pins, the only difference is how many amp the fan will take, higher amp = high rpm.
mobo actually control 2/3 pin fan via voltage, not by RPM.
PWM fan always quieter due to the design, you can go as low as 800rpm (aka 0% duty) the fan will still spin, just high powered fan will ramp up RPM.
third option is get fan with thermal sensor, but this one is rare and your psu might interfere with the speed control, unless connect directly to 12v.