/// <inheritdoc/> public override Color ToColor() { // Illuminant D65 var x = this.X / 100; var y = this.Y / 100; var z = this.Z / 100; return(Color.FromArgb(CieXyz.ToRgb(x * 3.2406 + y * -1.5372 + z * -0.4986), CieXyz.ToRgb(x * -0.9689 + y * 1.8758 + z * 0.0415), CieXyz.ToRgb(x * 0.0557 + y * -0.2040 + z * 1.0570))); }
private static double GetDenominator(CieXyz cieXyz) => cieXyz.X + 15.0 * cieXyz.Y + 3.0 * cieXyz.Z;