Did Hans Christian Andersen Write Dark Fairy Tales?

Did Hans Christian Andersen Write Dark Fairy Tales? Did Hans Christian Andersen write dark fairy tales? His most famous fairy tales include “The Emperor’s New Clothes”, “The Little Mermaid”, “The Nightingale”, “The Steadfast Tin Soldier”, “The Red Shoes”, “The Princess and the Pea”, “The Snow Queen”, “The Ugly Duckling”, “The Little Match Girl”, and “Thumbelina”.