Temperature.CCT

Extension Method in Temperature

Declaration

public static float CCT(this Color color)

Description

Returns the CCT temperature of the color in Kelvin.

Parameters

colorThe color to get the CCT temperature of.

Returns

floatThe CCT temperature of the color in Kelvin.

Overload

Declaration

public static float CCT(this Illuminant illuminant, StandardObserver observer = StandardObserver.Two)

Description

Returns the CCT temperature of the illuminant in Kelvin.

Parameters

illuminantThe illuminant to get the CCT temperature of.
observerThe standard observer to use (default=2°).

Returns

floatThe CCT temperature of the illuminant in Kelvin.