colour.xyY_to_munsell_colour#

colour.xyY_to_munsell_colour(xyY: ArrayLike, hue_decimals: int = 1, value_decimals: int = 1, chroma_decimals: int = 1) str | NDArrayStr[source]#

Convert from CIE xyY colourspace to Munsell colour.

Parameters:
  • xyY (ArrayLike) – CIE xyY colourspace array.

  • hue_decimals (int) – Hue formatting decimals.

  • value_decimals (int) – Value formatting decimals.

  • chroma_decimals (int) – Chroma formatting decimals.

Returns:

Munsell colour.

Return type:

str or numpy.NDArrayFloat

Notes

Domain

Scale - Reference

Scale - 1

xyY

[0, 1]

[0, 1]

References

[Cen], [Cen12]

Examples

>>> xyY = np.array([0.38736945, 0.35751656, 0.59362000])
>>> xyY_to_munsell_colour(xyY)
'4.2YR 8.1/5.3'