A pulse oximeter works by passing a beam of red and infrared light through a pulsating capillary bed. The ratio of red to infrared blood light transmitted gives a measure of the oxygen saturation of the blood. The oximeter works on the principle that the oxygenated blood is a brighter color of red than the deoxygenated blood, which is more blue-purple. First, the oximeter measures the sum of the intensity of both shades of red, representing the fractions of the blood with and without oxygen. The oximeter detects the pulse, and then subtracts the intensity of color detected when the pulse is absent. The remaining intensity of color represents only the oxygenated red blood. This is displayed on the electronic screen as a percentage of oxygen saturation in the blood.