colour.Prismatic_to_RGB#

colour.Prismatic_to_RGB(Lrgb: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

Convert from Prismatic \(L\rho\gamma\beta\) colourspace array to RGB colourspace.

Parameters:

Lrgb (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – Prismatic \(L\rho\gamma\beta\) colourspace array.

Returns:

RGB colourspace array.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

Lrgb

1

1

Range

Scale - Reference

Scale - 1

RGB

1

1

References

[SH15]

Examples

>>> Lrgb = np.array([0.75000000, 0.16666667, 0.33333333, 0.50000000])
>>> Prismatic_to_RGB(Lrgb)
array([ 0.25...   ,  0.4999999...,  0.75...  ])