Tristimulus space transformations and luminance-coefficient computation in RGB colour mixing