This is too broad of a question. It needs to be specified why type of vessel you are anchoring and where. If you are in the US refer to Aids to Navigation "Rules of the Road."
The green and white lights on a boat are very important for traveling at night. These lights indicate which end of the boat is which.
Head lights, port, starboard and stern lights (on 28' pontoon boat).
A white light used by itself which can be seen in all directions is the anchor light, which means you are anchored. A white used in conjunction with bow lights (green and red) are your navigation lights. The white light indicates your stern ( back of boat). If all you can see is the white light, a boat is either anchored or underway going away from you.
In Ohio, boats without proper lighting equipment (such as navigation lights) are prohibited from being operated between sunset and sunrise. These boats may present a danger to other vessels on the waterways due to reduced visibility at night.
Fractionally less than daytime mileage because of the energy needed to run the lights.
Port and starboard running light and stern light.
Friday night lights
If you are boating at night, and you see a single white light on another boat this light tells you that you are overtaking another vessel or it is anchored. It is mandatory for all engine powered boats and shines forward. If there is no light it indicates a sailboat under sail.
If you are boating at night, and you see a single white light on another boat this light tells you that you are overtaking another vessel or it is anchored. It is mandatory for all engine powered boats and shines forward. If there is no light it indicates a sailboat under sail.
A powerboat less than 39.4 feet long is anchored at night white light must be visible from all directions.
Red light is supposed to be easier for the eyes to transition to darkness. Red lights are also used on the bridge or pilot house of boats and ships. It does allow you to regain your night vision quicker.
Lights in the Night - album - was created in 1980.