colour.colorimetry.lightness_CIE1976¶
-
colour.colorimetry.
lightness_CIE1976
(Y, Y_n=100)[source]¶ Returns the Lightness \(L^*\) of given luminance \(Y\) using given reference white luminance \(Y_n\) as per CIE 1976 recommendation.
Parameters: - Y (numeric or array_like) – luminance \(Y\).
- Y_n (numeric or array_like, optional) – White reference luminance \(Y_n\).
Returns: Lightness \(L^*\).
Return type: numeric or array_like
Notes
- Input luminance \(Y\) and \(Y_n\) are in domain [0, 100].
- Output Lightness \(L^*\) is in range [0, 100].
References
Examples
>>> lightness_CIE1976(10.08) 37.9856290...