(d) A bicycle operated during darkness upon a highway, a sidewalk where bicycle operation is not prohibited by the local jurisdiction, or a bikeway, as defined in Section 890.4 of the Streets and Highways Code, shall be equipped with all of the following:
(1) A lamp emitting a white light that, while the bicycle is in motion, illuminates the highway, sidewalk, or bikeway in front of the bicyclist and is visible from a distance of 300 feet in front and from the sides of the bicycle.
(2) A red reflector on the rear that shall be visible from a distance of 500 feet to the rear when directly in front of lawful upper beams of headlamps on a motor vehicle.
(3) A white or yellow reflector on each pedal, shoe, or ankle visible from the front and rear of the bicycle from a distance of 200 feet.
(4) A white or yellow reflector on each side forward of the center of the bicycle, and a white or red reflector on each side to the rear of the center of the bicycle, except that bicycles that are equipped with reflectorized tires on the front and the rear need not be equipped with these side reflectors. The reflectors and reflectorized tires shall be of a type meeting requirements established by the department.
(e) A lamp or lamp combination, emitting a white light, attached to the operator and visible from a distance of 300 feet in front and from the sides of the bicycle, may be used in lieu of the lamp required by paragraph (1) of subdivision (d).