I realize now, instead of a lookup table, ChatGPT could probably generate a piece of code that considers those inputs (so e.g. temperature, time of day/weekday, cloud cover); and output colors.
I might struggle matching colours to the music playing a little, but there are so many other factors that it probably doesn't matter.