Learn how to use a voltmeter, or at least a neon test lamp, and check those wires out before you touch any of them!
That said, the bare wire on your fixture should connect to the green ground wire in your electrical box. The white neutral wire should go to the white, and your black (hot) wire for your fixture probably goes to the black wire in the box - you will need a voltmeter to take readings of the potential between the neutral and the black, then the neutral and the red, and see if the black or red is controlled by the the switch.
The Black wire may be a "hot traveler" wire coming from the lighting circuit breaker on the main panel. The Red wire may be "switched hot" coming from the light switch for this light fitting. The white wire may be a Neutral coming from the main panel. The Green wire should only ever be a safety Ground wire coming from the main panel.
Or there may be a two-way switched circuit feeding that light. If it is a light near some stairs and you have 2 switches controlling it, one switch downstairs and another switch upstairs, then the wiring could well be as follows: the Red (or the Black) is a "hot feed" to the switches and the other one, the Black (or the Red) is the "hot return" from the switches.
However you must not just assume any of these suggestions about wiring colors is correct for your house.
If you don't know how to check these things safely
DON'T DO IT - YOU COULD KILL YOURSELF!
<><><>
As always, if you are in doubt about what to do, the best advice anyone should give you is to call a licensed electrician to advise what work is needed.
Before you do any work yourself,
on electrical circuits, equipment or appliances,
always use a test meter to ensure the circuit is, in fact, de-energized.
IF YOU ARE NOT ALREADY SURE YOU CAN DO THIS JOB
SAFELY AND COMPETENTLY
REFER THIS WORK TO QUALIFIED PROFESSIONALS.
To replace an outlet in a ceiling light, first turn off the power at the circuit breaker to ensure safety. Remove the light fixture by unscrewing it from the ceiling and disconnect the wiring, noting the connections. Replace the old outlet with a new one by connecting the wires to the corresponding terminals (black to black, white to white, and green or bare to ground). Finally, reattach the fixture to the ceiling and restore power at the breaker.
=== === In the ceiling box there may be a Black wire, a Red wire, a White wire and a Green or Bare wire. The light fixture may only have a Black wire, a White wire and it may or may not have a Green or a Bare wire.The Black wire in the ceiling box may or may not be be a "Hot traveler" wire coming from the lighting circuit breaker on the main panel. The Red wire may or may not be a "Switched Hot" coming from the light switch for this light. The White wire should be a Neutral coming from the main panel. The Green wire should only ever be a safety Ground wire coming from the main panel.Or there may be a two-way switched circuit feeding the light. If it is a light near some stairs and you have 2 switches controlling it, one switch downstairs and another switch upstairs, then the wiring could well be as follows: the Red (or the Black) is a "hot feed" to the switches and the other one, the Black (or the Red) is the "hot return" from the switches. (There would also have to be a further wire, a "Hot Common" wire running between the switches which could be any color other than Green or Bare and it may or may not appear in the ceiling box, it depends where the switches are located.)The light fixture must be hooked-up as follows:If the light fixture has a Green or Bare wire it must be connected to the Green or Bare wire in the ceiling box. (On European fittings the Ground or Earth wire is Yellow/Green.) If the Neutral on the light fixture is a White wire it must be connected to the White wire in the ceiling box. (On European fittings the Neutral is a Blue wire.) If the Hot on the light fixture is a Black wire it must be connected to the switched hot wire in the ceiling box, which may be Red or it may be Black: you must check which wire is the correct one to use or the light will not be switched off by the switch! (On European fittings the Hot or Live is a Brown wire.)For more information see the answer to the Related Question shown below. As always, if you are in doubt about what to do, the best advice anyone should give you is to call a licensed electrician to advise what work is needed.If you do this work yourself, always turn off the powerat the breaker box/fuse panel BEFORE you attempt to do any work ANDalways use an electrician's test meter having metal-tipped probes(not a simple proximity voltage indicator)to insure the circuit is, in fact, de-energized. IF YOU ARE NOT ALREADY SURE YOU CAN DO THIS JOBSAFELY AND COMPETENTLYREFER THIS WORK TO QUALIFIED PROFESSIONALS.
To wire up a light bulb in the well house, first, ensure that the power is turned off at the circuit breaker. Use a suitable light fixture and connect the black (live) wire from the power source to the fixture's black wire, and the white (neutral) wire to the fixture's white wire. Ground the fixture by connecting the green or bare copper wire to the ground screw. Finally, secure the fixture, install the bulb, and restore power to test the light.
Red, Yellow and Blue for Live. Black for neutral and Green for Earthing
Typical house wiring in the United States is: Green or bare copper = ground White = neutral (Center tap of the feed transformer) Black or red = hot.
To install a ceiling light fixture, first turn off the power to the fixture at the circuit breaker. Remove the old fixture and disconnect the wires. Connect the new fixture's wires to the corresponding wires in the ceiling, usually black to black, white to white, and green or copper to the ground wire. Secure the fixture to the ceiling and turn the power back on to test the light.
To properly wire a ceiling light fixture, first turn off the power at the circuit breaker. Remove the old fixture, connect the fixture wires to the corresponding wires in the ceiling box (usually black to black, white to white, and green or bare to ground), and secure the connections with wire nuts. Finally, attach the fixture to the ceiling box and turn the power back on to test the light.
To install a light fixture in the ceiling, first turn off the power to the area. Remove the old fixture, then attach the new fixture's mounting bracket to the electrical box in the ceiling. Connect the wires from the fixture to the corresponding wires in the ceiling, usually black to black, white to white, and green or copper to the ground wire. Secure the fixture in place and attach the cover. Turn the power back on and test the light to ensure it is working properly.
The standard ceiling fan wiring colors are black, white, and green. The black wire is for the fan motor, the white wire is for the neutral connection, and the green wire is for the ground connection.
To properly install a screw-in ceiling light fixture, first turn off the power to the fixture at the circuit breaker. Remove the old fixture and disconnect the wires. Attach the mounting bracket to the ceiling box, then connect the fixture wires to the corresponding wires in the ceiling box (usually black to black, white to white, and green or bare to ground). Secure the fixture to the mounting bracket and install the light bulbs. Turn the power back on and test the light to ensure it is working properly.
To install a new light fixture, first turn off the power to the existing fixture at the circuit breaker. Remove the old fixture by unscrewing it from the ceiling and disconnecting the wires. Install the new fixture by connecting the wires to the corresponding colors (usually black to black, white to white, and green or copper to the ground). Secure the new fixture to the ceiling and turn the power back on to test the light.
The standard light fixture wiring colors used for electrical connections are black (hot), white (neutral), and green or bare copper (ground).
To properly install a 3-wire light fixture in your home, follow these steps: Turn off the power to the circuit at the breaker box. Remove the old light fixture and disconnect the wires. Connect the black wire from the fixture to the black (hot) wire in the ceiling box. Connect the white wire from the fixture to the white (neutral) wire in the ceiling box. Connect the green or bare copper wire from the fixture to the ground wire in the ceiling box. Secure the wires with wire nuts and mount the fixture to the ceiling. Turn the power back on and test the light to ensure it is working properly.
Normally red or black is the hot wire and green is the ground. However someone may have used the green wire as the neutral wire which is normally white. Just connect the black wire from the light to the red wire and the white wire from the light to the green wire and see if it works. If not you have to pull the wires out of the ceiling box and see how they wired it.
To wire a ceiling light, first turn off the power at the circuit breaker. Remove the old light fixture and disconnect the wires. Connect the new light fixture's wires to the corresponding wires in the ceiling, typically black to black, white to white, and green or bare to the ground wire. Secure the connections with wire nuts and mount the new fixture. Turn the power back on and test the light.
To wire a ceiling light properly, first turn off the power at the circuit breaker. Remove the old light fixture and disconnect the wires. Connect the new light fixture's wires to the corresponding wires in the ceiling, usually black to black, white to white, and green or bare to the ground wire. Secure the connections with wire nuts and mount the new fixture. Turn the power back on and test the light.
Each color means a different thing and there are green ones, they are just not as common There should be a bare wire along with the red, black and green wires in the ceiling. It is possible that it was cut off short or tied up to the box somewhere. this is the same as the green wire.