Ceiling fan surface wired to wall switch
I am installing a ceiling fan in a room without a fixture/electrical on the ceiling. A wall switch with a black, red, white and bare copper is the closest to tap into. The ceiling fan with light has black, blue white and green leads. What gauge and how many strands to connect, and which leads connects to what? I plan to use Wiremold to enclose the wiring. Thanks in advance.