colour.colorimetry.lightness_CIE1976#

colour.colorimetry.lightness_CIE1976(Y: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100], Y_n: TypeAliasForwardRef('ArrayLike') | None = None) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 100][source]#

Compute the lightness \(L^*\) of the specified luminance \(Y\) using the specified reference white luminance \(Y_n\) as per CIE 1976 recommendation.

Parameters:
  • Y (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 100]) – Luminance \(Y\).

  • Y_n (TypeAliasForwardRef('ArrayLike') | None) – White reference luminance \(Y_n\).

Returns:

Lightness \(L^*\).

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

Y

100

1

Range

Scale - Reference

Scale - 1

L_star

100

1

References

[CIET14804h], [WS00l]

Examples

>>> lightness_CIE1976(12.19722535)
41.5278758...