Defines various colour models common utilities.
See also
Converts from CIE XYZ colourspace to sRGB colourspace.
Parameters: |
|
---|---|
Returns: | sRGB colour matrix. |
Return type: | ndarray, (3,) |
Notes
Examples
>>> XYZ = np.array([0.1180583421, 0.1034, 0.0515089229])
>>> XYZ_to_sRGB(XYZ)
array([ 0.4822488..., 0.3165197..., 0.2207051...])