from colorspace import hexcols
= hexcols("#ff0000")
c c.get_whitepoint()
{'X': 95.047, 'Y': 100.0, 'Z': 108.883}
Documentation built with Python 3.11.10
, pyp2qmd 0.1.1
and quarto 1.5.57
on GitHub.
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.
sRGB.get_whitepoint()
dict
: Returns a dict with X
, Y
, Z
, the white point specification for the three dimensions.