Preheat the oven to 350°F (180°C). Line a 9x13-inch baking pan with parchment or foil, leaving an overhang for easy lifting. If using foil, spray with nonstick cooking spray.
In a large bowl, whisk together the melted butter, granulated sugar, and brown sugar.
1 cup unsalted butter, 1 ¾ cups granulated sugar, ½ cup brown sugar
Add the eggs, egg yolk, and vanilla, whisking until smooth.
3 large eggs, 1 large egg yolk, 1 teaspoon pure vanilla extract
Sift in the cocoa powder, flour, and salt. Mix until just combined. Spread the batter evenly in the prepared pan.
1 cup unsweetened cocoa powder, 1 cup all-purpose flour, ½ teaspoon salt
Bake for 27–33 minutes, or until a toothpick comes out with a few moist crumbs. Let cool completely before topping with ganache.
Place the chopped chocolate and heavy cream in a heat-safe bowl. Microwave in 1-minute increments, stirring each time, until fully melted and smooth.
8 ounces semisweet chocolate, ½ cup heavy cream
Spread the ganache evenly over the cooled brownies. Add rainbow sprinkles, mini M&M’s, or candy-coated chocolate chips.
Rainbow candy-coated chocolate chips
Refrigerate for 1–2 hours to let the ganache set before slicing.