colour.RGB_colourspace_limits

colour.RGB_colourspace_limits(colourspace, illuminant=array([0.3127, 0.329]))[source]

Computes given RGB colourspace volume limits in CIE L*a*b* colourspace.

Parameters
  • colourspace (RGB_Colourspace) – RGB colourspace to compute the volume of.

  • illuminant (array_like, optional) – CIE L*a*b* colourspace illuminant chromaticity coordinates.

Returns

RGB colourspace volume limits.

Return type

ndarray

Examples

>>> from colour.models import sRGB_COLOURSPACE as sRGB
>>> RGB_colourspace_limits(sRGB)  
array([[   0.       ...,  100.       ...],
       [ -86.182855 ...,   98.2563272...],
       [-107.8503557...,   94.4894974...]])