The power connector for the case fans will usually connect to a fan header on the motherboard.
The RGB connector on the fans can connect to the motherboard IF it is an RGB header.
If it doesn't, you need a separate RGB controller that plugs directly into the PSU.