colour.CMY_to_CMYK#
- colour.CMY_to_CMYK(CMY: ArrayLike) NDArrayFloat [source]#
Convert from CMY colourspace to CMYK colourspace.
- Parameters:
CMY (ArrayLike) – CMY colourspace array.
- Returns:
CMYK array.
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
CMY
[0, 1]
[0, 1]
Range
Scale - Reference
Scale - 1
CMYK
[0, 1]
[0, 1]
References
[EasyRGBb]
Examples
>>> CMY = np.array([0.54379481, 0.96918929, 0.95908048]) >>> CMY_to_CMYK(CMY) array([ 0. , 0.9324630..., 0.9103045..., 0.5437948...])