Simulating star spectral classes?

I know there’s a utility out there that will convert color temperatures to various values (including that used by LIFX), but I can’t seem to find it, so I’ll ask here…

Does anyone know how to convert star spectral classes into values for LIFX color-changing bulbs? I’d like to be able to show people what the world around them might look like if our planet orbited a different type of star.

Thanks in advance!