def blackbody_color(T_K):
    'Given a temperature (K), return the xyz color of a thermal blackbody.'
    spectrum = blackbody_spectrum(T_K)
    xyz = ciexyz.xyz_from_spectrum(spectrum)
    return xyz
Given a temperature (K), return the xyz color of a thermal blackbody.
def blackbody_color(T_K):
    
    spectrum = blackbody_spectrum(T_K)
    xyz = ciexyz.xyz_from_spectrum(spectrum)
    return xyz