Get White Point

Description

This method returns the definition of the white point in use. If not explicitly set via the set_whitepoint method, a default white point is used.

Usage

RGB.get_whitepoint()

Return

dict: Returns a dict with X, Y, Z, the white point specification for the three dimensions.

Examples

from colorspace import hexcols
c = hexcols("#ff0000")
c.get_whitepoint()
{'X': 95.047, 'Y': 100.0, 'Z': 108.883}