As far as I know, "it's getting colder" is 寒くなってきた.
The way I'm understanding this is you're saying that the state of the weather becoming colder has come, similar to how something might "come to pass" in English.
What confuses me is that this expression already uses くる in the past tense, so how would you phrase "it was getting colder"? Do I need some sort of temporal noun or reference to a past time period, like "last month"?