When you're not in Denver or Boulder, you're in the minority.  Those two counties voted about 80% for Hillary.  The rest of the 86 counties in this state voted 53-47 for Trump in the aggregate.  Denver and Boulder do not represent the interests of the rest of the state, and have about 17% of the population.  Yet they control the state's Presidential vote.  The overwhelming 60% advantage for for Hillary in 17% of the population was 10.2% of the state, enough to offset the majority of 6% for Trump in the rest of the state.

This phenomenon happens all over the country.  The Democrats win the urban centers and college towns by large majorities, and the suburban and urban areas where most of the people live vote conservative, but not by a wide enough margin to overcome the huge Democrat advantage in the cites ... until last year.