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
| color | The color to get the CCT temperature of. |
Returns
| string | The 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
| illuminant | The illuminant to get the CCT temperature of. |
| observer | The standard observer to use (default=2°). |
Returns
| string | The CCT temperature of the illuminant in Kelvin as a string. |