colour.RGB_colourspace_limits#
- colour.RGB_colourspace_limits(colourspace: colour.models.rgb.rgb_colourspace.RGB_Colourspace) NDArrayFloat [source]#
Compute given RGB colourspace volume limits in CIE L*a*b* colourspace.
- Parameters
colourspace (colour.models.rgb.rgb_colourspace.RGB_Colourspace) – RGB colourspace to compute the volume of.
- Returns
RGB colourspace volume limits.
- Return type
Notes
The limits are computed for the given RGB colourspace illuminant. This is important to account for, if the intent is to compare various RGB colourspaces together. In this instance, they must be chromatically adapted to the same illuminant before-hand. See
colour.RGB_Colourspace.chromatically_adapt()
method for more information.Examples
>>> from colour.models import RGB_COLOURSPACE_sRGB as sRGB >>> RGB_colourspace_limits(sRGB) array([[ 0. ..., 100. ...], [ -86.182855 ..., 98.2563272...], [-107.8503557..., 94.4894974...]])