Color temperature to RGB

Hey man, sorry for taking that thread off-topic. The links you supplied are almost exactly what I’m looking for. I’ve got the xy part down, I’m now looking for ct.

Thanks for everything you’ve supplied so far :slight_smile: