What does COLREGs Rule 21 say?
Rule 21(a): a masthead light is a white light 'over the fore and aft centreline', showing an unbroken light over 225 degrees, from right ahead to 22.5 degrees abaft the beam on either side.
Rule 21(b): sidelights are a green light on the starboard side and a red light on the port side, each showing an unbroken light over 112.5 degrees, from right ahead to 22.5 degrees abaft the beam on its own side. In a vessel of less than 20 metres they may be combined in one lantern on the fore and aft centreline.
Rule 21(c): a sternlight is a white light 'as nearly as practicable at the stern', showing an unbroken light over 135 degrees — 67.5 degrees from right aft on each side.
Rule 21(d): a towing light is yellow but otherwise matches the sternlight. Rule 21(e): an all-round light is visible, unbroken, from every direction. Rule 21(f): a flashing light flashes regularly, at '120 flashes or more per minute'.