Red and green traffic lights have been around since the 1800s, when British traffic officers used to rotate gas lamps that burned red and green to control the movement of mostly horse-drawn vehicles.