I am looking for a way to convert a color temperature to its approximate RGB color in Flutter.
If you have a look at this website, a color temperature of 1800
equals some kind of orange:
Is there a convenient way to do this in Flutter? The website I found seems to have hardcoded the colors. Providing me with a formula would also be appreaciated.