XYZ color space

The RGB color space cannot always produce a color equivalent to any wavelength. In order to produce these colors the red component sometimes should be negative. To address this problem the CIE in 1931 defined a new color space, called XYZ that can produce every color with positive tristimulus values.