colour.RGB_colourspace_limits

colour.RGB_colourspace_limits(colourspace, illuminant=array([ 0.3457, 0.3585]))[source]

Computes given RGB colourspace volume limits in Lab colourspace.

Parameters:
  • colourspace (RGB_Colourspace) – RGB colourspace to compute the volume of.
  • illuminant (array_like, optional) – Lab colourspace illuminant chromaticity coordinates.
Returns:

RGB colourspace volume limits.

Return type:

ndarray

Examples

>>> from colour import sRGB_COLOURSPACE as sRGB
>>> RGB_colourspace_limits(sRGB)  
array([[   0...        ,  100.0000848...],
       [ -79.2197012...,   94.6760011...],
       [-114.7814393...,   96.7261797...]])