Why are They Called Red and Blue States?

The idea of ‘red’ and ‘blue’ states comes from the history of the state in it’s trend of voting either democrat or republican. Blue is the democrat’s color and red is the color of the republicans.