Rainbow Swirl Cupcakes

Vanilla cupcakes with vibrant and mesmerizing rainbow swirl frosting; a delightful treat for all ages!
ingredients
- 1 ¼ cups all-purpose flour
- 1 ½ teaspoons baking powder
- ¼ teaspoon salt
- ½ cup unsalted butter, softened
- 1 cup granulated sugar
- 2 large eggs
- 1 teaspoon vanilla extract
- ½ cup whole milk
- Food coloring (red, orange, yellow, green, blue, purple)For the frosting:
- 1 cup unsalted butter, softened
- 4 cups powdered sugar
- 2 teaspoons vanilla extract
- 2 tablespoons whole milk
steps
- 1.
Preheat the oven to 350°F (175°C) and line a cupcake tin with paper liners.
- 2.
In a mixing bowl, whisk together flour, baking powder, and salt. Set aside.
- 3.
In a separate bowl, cream the butter and sugar until light and fluffy. Add eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
- 4.
Gradually add the dry ingredients to the wet mixture, alternating with milk. Mix until just combined.
- 5.
Divide the batter into six equal parts in separate bowls. Add a few drops of each food coloring to create vibrant rainbow colors.
- 6.
Spoon each colored batter into separate resealable bags.
- 7.
Cut a small corner off each bag and carefully pipe the batter in layers into each cupcake liner. Begin with purple, then blue, green, yellow, orange, and end with red.
- 8.
Bake for 18-20 minutes, or until a toothpick inserted into the center of a cupcake comes out clean. Allow them to cool completely on a wire rack.
- 9.
Meanwhile, prepare the frosting by beating softened butter until creamy. Gradually add powdered sugar, vanilla extract, and milk. Beat until light and fluffy.
- 10.
Once the cupcakes are cooled, pipe or spread the rainbow swirl frosting on top and decorate as desired.