Acomplex, though fairly weak, troughing pattern sits over the Rockies right now, including squarely across Colorado. This morning's GOES-East water vapor animation shows that the Front Range is still located south of the trough axis, evident by the fact we are still under southwest flow. Over the next several days, this trough won't move much, with a weak closed-low pressure …
In general, temperature decreases with altitude in the atmosphere. You can easily prove this to yourself by leaving Denver on a warm summer afternoon and driving one hour west to the summit of Mount Evans. The summit lies above 14,000 feet elevation (+9,000 above Denver). The temperature may have been 95 degrees in Denver. On top of Evans, it will be in the 40's!