colour.munsell_colour_to_xyY#

colour.munsell_colour_to_xyY(munsell_colour: ArrayLike, method: Literal['Centore 2014', 'ONNX'] | str = 'Centore 2014') Range1[source]#

Convert the specified Munsell colour to CIE xyY colourspace.

Parameters:
  • munsell_colour (ArrayLike) – Munsell colour notation formatted as “H V/C” where H is hue, V is value, and C is chroma.

  • method (Literal['Centore 2014', 'ONNX'] | str) – Computation method.

Returns:

CIE xyY colourspace array.

Return type:

numpy.NDArrayFloat

Notes

Range

Scale - Reference

Scale - 1

xyY

1

1

References

[Cen], [Cen12]

Examples

>>> munsell_colour_to_xyY("4.2YR 8.1/5.3")
array([0.3873694..., 0.3575165..., 0.59362   ])
>>> munsell_colour_to_xyY("N8.9")
array([0.31006  , 0.31616  , 0.7461345...])