colour.get_domain_range_scale#

colour.get_domain_range_scale() Literal['ignore', 'reference', '1', '100'] | str[source]#

Return the current Colour domain-range scale. The following scales are available:

  • ‘Reference’, the default Colour domain-range scale which varies depending on the referenced algorithm, e.g., [0, 1], [0, 10], [0, 100], [0, 255], etc…

  • ‘1’, a domain-range scale normalised to [0, 1], it is important to acknowledge that this is a soft normalisation and it is possible to use negative out of gamut values or high dynamic range data exceeding 1.

Returns:

Colour domain-range scale.

Return type:

str

Warning

  • The ‘Ignore’ and ‘100’ domain-range scales are for internal usage only!