colour.LCHab_to_Lab#

colour.LCHab_to_Lab(LCHab: ArrayLike) NDArrayFloat[source]#

Convert from CIE L*C*Hab colourspace to CIE L*a*b* colourspace.

Parameters:

LCHab (ArrayLike) – CIE L*C*Hab colourspace array.

Returns:

CIE L*a*b* colourspace array.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

LCHab

L : [0, 100]

C : [0, 100]

Hab : [0, 360]

L : [0, 1]

C : [0, 1]

Hab : [0, 1]

Range

Scale - Reference

Scale - 1

Lab

L : [0, 100]

a : [-100, 100]

b : [-100, 100]

L : [0, 1]

a : [-1, 1]

b : [-1, 1]

References

[CIET14804h]

Examples

>>> import numpy as np
>>> LCHab = np.array([41.52787529, 59.12425901, 27.08848784])
>>> LCHab_to_Lab(LCHab)  
array([ 41.5278752...,  52.6385830...,  26.9231792...])