The red-green-blue model is formed by a color cube .
Conversion from to is given via the chromaticities , and of the CRTs phosphors by matrix multiplication via:
This can be calculated from , , .