color_get_blackbody_rgb


Description:


[ Version ( since = "0.1.26" ) ]
public bool color_get_blackbody_rgb (uint temp, ColorRGB result)

Get the blackbody color for a specific temperature.

If the temperature range is outside 1000K to 10000K then the result is clipped.

Parameters:

temp

the temperature in Kelvin

result

the destination color

Returns:

TRUE if temp was in range and the result accurate


Namespace: Cd
Package: colord