Temperature.CCTString

Extension Method in Temperature

Declaration

public static string CCTString(this Color color)

Description

Returns the CCT temperature of the color in Kelvin as a string.

Parameters

colorThe color to get the CCT temperature of.

Returns

stringThe CCT temperature of the color in Kelvin as a string.

Overload

Declaration

public static string CCTString(this Illuminant illuminant, StandardObserver observer = StandardObserver.Two)

Description

Returns the CCT temperature of the illuminant in Kelvin as a string.

Parameters

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

Returns

stringThe CCT temperature of the illuminant in Kelvin as a string.