Blue wire is for the light, if light is included with the fan. White wire is neutral. Green wire is for the ground. Red wire is sometimes included and acts as a conductor to carry power to the light kit.
What wires do you connect for lights colors?
Motion lights have black, white and red wires. Black and white always connect to black and white. The installation instructions tell you which of these to connect with the red wire.
How do you wire a new ceiling light?
2:3716:29How To Install Ceiling Light Without Existing Wiring - YouTubeYouTube
Does blue wire go to white?
The blue wire from the ceiling fan gets connected to the second live wire from the ceiling. This second wire can vary in color but is most commonly red or black. This connection allows you to power your lights from the second switch. Connect the white grounded wire from the ceiling to the white wire from the fan.