The clouds were as dark as midnight

Check the final answer first, then review the worked steps.

Answer

It highlights how bad the weather is.

Reasoning

Simile: 'clouds were as dark as midnight'.
Purpose: To describe the intensity of the storm/darkness.
Conclusion: Highlights bad weather.

Step-by-step solution

The simile 'as dark as midnight' compares the clouds to the darkness of midnight to emphasize the severity and gloominess of the storm.