def ct_to_rgb(temp):
 colorlist = list(color_temperature_to_rgb(color_temperature_mired_to_kelvin(temp)))
 return [int(val) for val in colorlist]

def ct_to_rgb ( temp ) : colorlist = list ( color_temperature_to_rgb ( color_temperature_mired_to_kelvin ( temp ) ) ) return [ int ( val ) for val in colorlist ]
convert color temperature to rgb .