This defect is known as chromatic aberration. It occurs because the lenses have different refractive indices for different wave lengths of light. Chromatic abberation itself manifests as "fringes" of colour along boundaries that seperate dark and bright parts of the image, because each colour in the optical spectrum can not be focused at a single common point.