colour.CMY_to_RGB#

colour.CMY_to_RGB(CMY: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

Convert from CMY colourspace to RGB colourspace.

Parameters:

CMY (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – CMY colourspace array.

Returns:

RGB colourspace array.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

CMY

1

1

Range

Scale - Reference

Scale - 1

RGB

1

1

References

[EasyRGBc]

Examples

>>> CMY = np.array([0.54379481, 0.96918929, 0.95908048])
>>> CMY_to_RGB(CMY)
array([0.4562051..., 0.0308107..., 0.0409195...])