def rgb_xyz(rgb):
    """
	Convert tuple from the sRGB color space to the CIE XYZ color space.

	The XYZ output is determined using D65 illuminate with a 2° observer angle.
	https://en.wikipedia.org/wiki/Illuminant_D65

	sRGB (standard Red Green Blue): https://en.wikipedia.org/wiki/SRGB
	CIE XYZ: https://en.wikipedia.org/wiki/CIE_1931_color_space
	"""
    r = rgb[0] / 255.0
    g = rgb[1] / 255.0
    b = rgb[2] / 255.0
    x = r * 0.4124564 + g * 0.3575761 + b * 0.1804375
    y = r * 0.2126729 + g * 0.7151522 + b * 0.072175
    z = r * 0.0193339 + g * 0.119192 + b * 0.9503041
    x = x * 100.0
    y = y * 100.0
    z = z * 100.0
    return x, y, z
