colour.CMY_to_RGB

colour.CMY_to_RGB(CMY)[source]

Converts from CMY colourspace to CMY colourspace.

Parameters:CMY (array_like) – CMY colourspace array.
Returns:RGB colourspace array.
Return type:ndarray

Notes

Domain Scale - Reference Scale - 1
CMY [0, 1] [0, 1]
Range Scale - Reference Scale - 1
RGB [0, 1] [0, 1]

References

[EasyRGBi]

Examples

>>> CMY = np.array([0.54379481, 0.96918929, 0.95908048])
>>> CMY_to_RGB(CMY)  # doctest: +ELLIPSIS
array([ 0.4562051...,  0.0308107...,  0.0409195...])