It took me a long time to realize that the "temperature" that goes into the sky color calculation was not the "temperature" of the biome itself but rather the "temperature" of the noise function that Minecraft uses to pick the biome. Also it's *not* HSL, it's HSV.