There have been a number of questions about boating lights here recently, so I'm assuming this is another.
The answer to this one is complicated, and depends on:
1. If the boat is a sailboat or a powerboat (sailboats which also have motors are considered powerboats if the motor is in use).
2. If the boat is in motion or at anchor.
3. The size of the boat.
You should really be a lot more specific with the question if you want a definitive answer; specifically you should say whether it's a sailboat or a powerboat, if it's under sail/power or at anchor, and how long the keel is.
A powerboat less than 39.4 feet long is anchored at night white light must be visible from all directions.
A white light on a powerboat (that obviously doesn't have a mast) must be displayed so as to be visible from 360 degrees.
Rule 21 It must show an unbroken light over an arc of the horizon of 225 degrees and so fixed as to show the light from right ahead to 22.5 degrees abaft of the beam.
25 ft.
White light is the full spectrum of visible light. So in order to get true white light you need to add violet, blue, yellow, orange, and red.
This white-colored light that must be visible from all angles is called an anchor light. It is usually situated atop the mast.
A white light is the color of light that must be displayed on a vessel towing at night, I t must be displayed at 8.2 feet higher than the colored sidelights. It should have an all round white light visible for 2 miles.
500
A white line with a curved arrow pointing the way you must go.
The red light should be on the right side, or port side, of the boat. The green light should be on the left, or starboard, side of the boat.
It must have a navigation light visible from ahead to 22.5 degrees abaft the beam, on each side, green on the starboard side and red on the port side. It must have a white stern light visible over an arc of 135 degrees. If longer than 80 metres it must also have two white lights both visible in an arc of 225 degrees about the bow, both lights to be spaced along on the centre line of the ship, with the forward one lower than the other one. The point about the coloured lights is that the ship must always give way to a vessel on the starboard side. At night it shows the green light on that side. The red light on the other side tells another ship that it must give way by slowing down or changing course to starboard.
This white-colored light that must be visible from all angles is called an anchor light. It is usually situated atop the mast.