Which type of figurative language is used in the following sentence? The morning was grim, expressing itself through dark gray clouds and heavy rain.

The type of figurative language used in the sentence is personification.