Go Back
rainbow cake-1

Rainbow Cake

A vibrant, multi-layered Rainbow Cake is a showstopper for any celebration, combining light vanilla sponge layers, each tinted a different color, with creamy buttercream frosting. Perfect for birthdays or festive gatherings, this cake is as fun to make as it is to eat!
Prep Time 45 minutes
Cook Time 30 minutes
Total Time 1 hour 15 minutes
Servings: 12 persons
Course: Dessert
Cuisine: American
Calories: 430

Ingredients
  

  • 390 grams all-purpose flour
  • 18 grams baking powder
  • 1/2 tsp salt
  • 340 grams unsalted butter (softened)
  • 400 grams granulated sugar
  • 6 large eggs
  • 2 tbsp vanilla extract
  • 360 ml whole milk
  • as needed food coloring (red, orange, yellow, green, blue, purple) For tinting each layer.
  • 340 grams unsalted butter (softened, for frosting)
  • 750 grams powdered sugar
  • 2 tsp vanilla extract (for frosting)
  • 3-4 tbsp whole milk (for frosting) To reach desired consistency.
  • pinch salt (for frosting)

Equipment

  • 2 8-inch round cake pans or 6 if available for efficiency
  • 1 mixing bowls
  • 1 electric mixer
  • 1 measuring cups and spoons
  • 1 rubber spatula
  • 1 parchment paper
  • 1 wire rack
  • 6 small bowls for coloring batter

Method
 

  1. Preheat oven to 175°C (350°F). Line cake pans with parchment paper and lightly grease.
  2. In a medium bowl, whisk together flour, baking powder, and salt.
  3. In a large bowl, cream the butter and granulated sugar with an electric mixer until light and fluffy, about 3 minutes.
  4. Beat in eggs, one at a time, mixing well after each addition. Add vanilla extract and mix in.
  5. Add the flour mixture in three parts, alternating with milk, starting and ending with flour. Mix until just combined.
  6. Divide batter evenly into six small bowls. Tint each bowl with a different food coloring shade (red, orange, yellow, green, blue, purple).
  7. Pour each colored batter into its own prepared pan and spread evenly.
  8. Bake each layer for 15 minutes, or until a toothpick comes out clean.
  9. Let layers cool in pans for 10 minutes, then remove and cool completely on wire racks.
  10. Make the frosting: Beat butter until creamy. Gradually add powdered sugar, vanilla, salt, and milk until light and fluffy.
  11. Level cooled cake layers if necessary. Place the purple layer on a serving plate and spread a thin layer of frosting on top.
  12. Stack remaining layers (blue, green, yellow, orange, red) on top, spreading frosting between each layer.
  13. Frost the top and sides of the cake with remaining buttercream. Decorate as desired.

Notes

For best results, use gel food coloring for intense color without thinning batter.
Cake layers can be baked a day ahead—wrap tightly and store at room temperature.
Chill cake layers briefly before final assembly for easier handling.
Add sprinkles or fresh fruit on top, if desired.