I purchased an RGB DeepCool cooler, and I want to know how would I be able to control the RGB lighting for the cooler?

The RGB cooler should come with a 12v RGB sync cable. You would plug the corresponding end into the fan's RGB connector, and the other end into either an RGB controller, or to a compatible RGB header on your motherboard (if your motherboard has one).