Who won Colorado? Here's which candidate took the state Tuesday.

Getty Images

Hillary Clinton won in Colorado, a swing state where she led by a wide margin for most of the election. The final days of the campaign saw a tight race for the Centennial State's 9 electoral votes, but Clinton ultimately beat Donald Trump. 

While Barack Obama won the state in 2008 and 2012, it voted only twice before for a Democrat between 1952 and 2004. 

A late tightening in the polls before Election Day demonstrated Trump had a chance at winning Colorado, one of several Obama states he needed to secure the Electoral College.