colour.munsell_colour_to_xyY

colour.munsell_colour_to_xyY(munsell_colour)[source]

Converts given Munsell colour to CIE xyY colourspace.

Parameters

munsell_colour (str or array_like) – Munsell colour.

Returns

CIE xyY colourspace array.

Return type

ndarray

Notes

Range

Scale - Reference

Scale - 1

xyY

[0, 1]

[0, 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...])