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