Go Back
Rainbow Cake

Classic Rainbow Cake

Rainbow cake is a vibrant and fun dessert, perfect for celebrations. With its colorful layers and creamy frosting, it’s sure to impress both kids and adults. Whether for birthdays or special occasions, this cake brings joy and excitement to any event.
Prep Time 30 minutes
Cook Time 18 minutes
Servings 12
Calories 450 kcal

Ingredients
  

Essential Ingredients:

  • 3 cups all-purpose flour
  • 1 tablespoon baking powder
  • 1/2 teaspoon salt
  • 1 cup unsalted butter room temperature
  • 2 cups granulated sugar
  • 4 large eggs room temperature
  • 1 tablespoon vanilla extract
  • 1 1/2 cups whole milk
  • Gel food coloring red, orange, yellow, green, blue, and purple

For the Frosting:

  • 2 cups unsalted butter room temperature
  • 6 cups powdered sugar
  • 1/4 cup heavy cream
  • 2 teaspoons vanilla extract
  • Pinch of salt

Instructions
 

  • Preheat the Oven: Preheat your oven to 350°F (175°C) and grease six 9-inch round cake pans (or work in batches if you have fewer pans).
  • Mix Dry Ingredients: In a medium bowl, whisk together the flour, baking powder, and salt.
  • Cream Butter and Sugar: In a large bowl, cream the butter and sugar together until light and fluffy, about 4-5 minutes. Add the eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
  • Alternate Dry and Wet Ingredients: Add the flour mixture to the butter mixture in three parts, alternating with the milk, beginning and ending with the flour. Mix until just combined.
  • Divide the Batter: Divide the batter evenly into six bowls. Add a different food coloring to each bowl and stir until the color is fully mixed in.
  • Bake the Cakes: Pour each colored batter into the prepared pans. Bake for 15-20 minutes, or until a toothpick inserted into the center of each cake comes out clean. Let the cakes cool in the pans for 10 minutes, then turn them out onto wire racks to cool completely.
  • Prepare the Frosting: In a large bowl, beat the butter until creamy. Gradually add the powdered sugar, heavy cream, vanilla extract, and salt, beating until smooth and fluffy.
  • Assemble the Cake: Place the purple layer on a serving plate and spread a layer of frosting on top. Repeat with the blue, green, yellow, orange, and red layers. Frost the top and sides of the cake with the remaining frosting.
  • Chill and Serve: Chill the cake in the refrigerator for 30 minutes before serving to set the frosting. Slice and enjoy!