color_get_blackbody_rgb_full


Description:


[ Version ( since = "1.3.5" ) ]
public bool color_get_blackbody_rgb_full (double temp, ColorRGB result, ColorBlackbodyFlags flags)

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

flags

some ColorBlackbodyFlags, e.g. cd_color_blackbody_flag_use_planckian

Returns:

TRUE if temp was in range and the result accurate


Namespace: Cd
Package: colord