colour.xyY_to_munsell_colour

colour.xyY_to_munsell_colour(xyY, hue_decimals=1, value_decimals=1, chroma_decimals=1)[source]

Converts from CIE xyY colourspace to Munsell colour.

Parameters
  • xyY (array_like, (3,)) – 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

unicode

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'