Rainbow Layered Cake

Rainbow Layered Cake

Rainbow layered cake stacks five brightly colored vanilla cake rounds with smooth homemade frosting between each one. Egg whites keep the layers light, while a thin coating of frosting around the outside lets the colorful stripes show through.

The recipe serves 12, with 20 minutes of prep and 15 minutes of baking time; allow extra time for the layers to cool completely before assembly. It makes a cheerful centerpiece for birthdays, school celebrations and potlucks, and the layers can be baked ahead to make decorating day easier.

Why you’ll love it

Why This Rainbow Layered Cake Recipe Works

The color comes from dividing one batter rather than making five separate cakes, and a few practical choices help the layers bake and stack neatly.

  • Egg whites make a lighter crumb. The whites add structure without the richness of yolks, which helps keep the colorful layers pale enough for the food coloring to show clearly.
  • Thin layers bake quickly. Spreading the batter across five 8-inch pans creates relatively shallow rounds that bake in 15 minutes. A toothpick check helps prevent dry edges.
  • A naked finish shows the stripes. Frosting between the layers holds the cake together, while leaving the sides mostly uncovered puts the colored layers on display.
  • A soft frosting is easier to spread. The milk loosens the butter and powdered sugar into a workable frosting. Adjust it gradually so it stays thick enough to support the stacked cake.
Advertisement

What you need

Ingredients You’ll Need

Ingredients for Rainbow Layered Cake

Gather the cake and frosting ingredients before starting. Keep the batter colors separate, and wait until the layers are completely cool before frosting.

  • Butter: One cup, softened, for the cake; plus half a cup, softened, for the frosting. Soft butter creams smoothly with sugar.
  • Sugar: Two cups for the cake batter. Regular granulated sugar adds sweetness and helps create a fine crumb when creamed with butter.
  • Vanilla: Two teaspoons for the cake, plus one teaspoon for the frosting. Pure or imitation vanilla both work.
  • Egg whites: Six large whites provide structure and keep the cake layers light in color. Separate them carefully so no yolk enters the batter.
  • All-purpose flour: Three cups form the cake’s structure. Measure without packing the flour into the cup to avoid dense layers.
  • Baking powder: Four teaspoons lift the cake batter. Check that it is fresh so the layers rise evenly.
  • Salt: One teaspoon balances the sweetness and brings out the vanilla flavor.
  • Milk: One cup goes into the cake batter; 2 to 3 tablespoons loosen the frosting. Add frosting milk gradually.
  • Food coloring: Red, orange, yellow, green and blue tint the five portions. Gel coloring gives vivid color with less added liquid.
  • Powdered sugar: Four cups make the frosting sweet and spreadable. Sift it if it is lumpy before creaming with butter.
  • Sprinkles: Use sprinkles of your choice to finish the top. Choose colors and shapes that suit the occasion.
Advertisement

Tools

Equipment You’ll Need

  • Five small bowls: Divide the finished batter into separate bowls so each portion can be colored without mixing shades.
  • Toothpick and cooling racks: Use a toothpick to check the centers and racks to cool the layers fully before stacking.

The method

How to Make Rainbow Layered Cake

1. Prepare the pans

Heat the oven to 350°F. Coat five 8-inch round pans with cooking spray, then dust them with a thin layer of flour. If you do not have five pans, bake the layers in batches.

Turn each pan to coat the base and sides, then tap out loose flour so it does not leave patches on the cake.

2. Cream the butter and sugar

In a large mixing bowl, beat the softened butter and sugar together. Mix in the vanilla and egg whites, then beat again until smooth.

Scrape the sides and bottom of the bowl if butter or sugar is clinging there; an even mixture helps the batter bake consistently.

3. Finish the cake batter

Add the flour, baking powder, salt and milk to the bowl. Beat until the batter is smooth, stopping to scrape the bowl as needed.

Once the flour is incorporated and no dry pockets remain, stop mixing to avoid making the layers tough.

4. Color the portions

Divide the batter evenly among five separate bowls. Tint one portion each red, orange, yellow, green and blue, adding coloring according to its type.

Stir each portion thoroughly and check the color against the others. The baked shades are usually a little softer than the raw batter.

5. Fill and bake the pans

Pour one colored portion into each prepared 8-inch pan. Bake each layer for 15 minutes, or until a toothpick inserted in the center comes out clean.

If baking in batches, keep the waiting bowls covered while the first pans bake. Avoid overfilling pans unevenly so the layers stack at a similar height.

6. Cool the cake layers

Leave the baked layers in their pans for 15 minutes. Run a knife around the edges if needed, turn them out, and let them cool completely before frosting.

The centers should no longer feel warm. Frosting warm cake can melt the butter and make the layers slide.

7. Make the frosting

In a medium bowl, cream the softened butter with the powdered sugar. Add 2 tablespoons of milk and the vanilla, then beat well. If it is too thick, add more milk; if too thin, mix in more powdered sugar.

Aim for frosting that spreads smoothly but holds its shape. Add any extra milk a little at a time to avoid thinning it too far.

8. Stack and decorate

Set the blue layer on a serving plate and spread frosting over it. Stack and frost the green, yellow, orange and red layers in that order, using five layers of frosting in all. Finish with sprinkles on top.

Center each round before adding the next, and use a thin, even layer of frosting so the cake stays level and the colored sides remain visible.

Advertisement

Doneness

How to Tell When It’s Done

If the toothpick has wet batter on it, return the pans to the oven and check again shortly. Do not rely on color alone: food coloring can make it harder to judge browning.

Let the layers cool completely before assembly. If a round feels warm in the center, give it more time; frosting should stay creamy, not melt or slide down the sides.

Tips & common mistakes

Tips and Common Mistakes

A little care with measuring, coloring and cooling makes the layers easier to assemble and the finished cake more striking.

  • Keep the portions even. Dividing the batter as evenly as possible gives you layers of similar thickness. If one bowl looks noticeably fuller, redistribute a little batter before coloring.
  • Add coloring gradually. Food coloring varies in strength, so start with a small amount and stir well before adding more. Gel coloring is useful when you want vivid shades without loosening the batter.
  • Let the cake cool fully. A warm layer softens the butter frosting and can make a tall stack unstable. Cooling completely also makes the rounds easier to handle without breaking.
  • Use a light hand with frosting. The cake needs enough frosting to hold the layers together, but thick filling can push the rounds out of alignment. Spread each layer evenly from center to edge.
  • Check the frosting consistency. If it feels stiff, add milk gradually; if it runs off a spoon, mix in more powdered sugar. A spreadable but sturdy texture supports the stack.
Advertisement

Make it your way

Substitutions and Variations

You can adjust the colors and frosting details while keeping the same basic layer method.

  • Use gel coloring: Gel food coloring is concentrated, so it can produce strong shades without adding much liquid. Add it in small amounts and mix thoroughly.
  • Try liquid coloring: Liquid food coloring works, though you may need more to reach vivid shades. Add it cautiously so the batter does not become too loose.
  • Choose another color palette: Use five shades for a holiday, team celebration or themed party. Keep one color per bowl so the layers stay distinct.
  • Change the sprinkles: Match the top with seasonal or party sprinkles, or leave them off for a cleaner finish. The cake structure and frosting method stay the same.
  • Adjust frosting thickness: Use the listed range of milk to make the frosting easier to spread. If it becomes too loose, add more powdered sugar a little at a time.
Advertisement

Serving

What to Serve with Rainbow Layered Cake

Serve slices on their own as a birthday or celebration dessert. The vanilla cake and sweet frosting pair well with fresh berries, which add a bright, tart contrast.

For a party table, cut modest slices because five layers make each serving tall. Coffee, tea or cold milk are easy drinks to offer alongside the cake.

Storage

Make-Ahead, Storage and Reheating

Make ahead: Bake the cake layers ahead and let them cool completely before wrapping and storing them. Make the frosting close to assembly so it is easy to spread; wait to add the sprinkles until the cake is stacked.

Storage: Keep the assembled cake covered in the refrigerator, where it will hold well for 3 to 4 days. Let slices sit briefly at room temperature before serving so the butter frosting softens.

Freezing: Freeze unfrosted, fully cooled layers individually, wrapped tightly, for up to 2 months. Thaw them still wrapped in the refrigerator, then bring them to a cool room temperature before frosting.

Reheating: This cake is best served at room temperature rather than reheated. Let refrigerated slices stand until the frosting softens and the cake is tender.

Advertisement

Questions

Rainbow Layered Cake FAQs

Can I bake the cake layers in batches?

Yes. The instructions allow baking in batches if you do not have five pans. Keep the unused batter covered while the first layers bake, then prepare the pans for the remaining colors.

Why did my rainbow cake layers turn out dense?

Overmixing after adding the flour can make the crumb tough, and too much flour can make it heavy. Mix only until the batter is smooth and measure the flour without packing it.

How do I keep the layers from sliding?

Use fully cooled layers and spread an even, not overly thick, layer of frosting between them. Center each round as you stack, and keep the frosting firm enough to hold its shape.

Can I make the cake without food coloring?

Yes. The cake will still have the same vanilla flavor and can be stacked with the frosting, but the layers will not have the rainbow effect.

How many people does this cake serve?

It serves 12. Because the stacked layers make tall slices, you can cut smaller portions for a larger dessert table.

Can I use a different order for the colors?

Yes. Stack the colors in any order you prefer, keeping the rounds arranged before you begin frosting so the finished pattern is deliberate.

Advertisement

Recipe Card

Rainbow Layered Cake

Rainbow Layered Cake

Easy Rainbow Naked Cake has layers of rainbow colored cake with a homemade frosting in between each layer.
Prep Time 20 minutes
Cook Time 15 minutes
Total Time 1 hour 5 minutes
Servings: 12
Calories: 624

Ingredients
  

CAKE INGREDIENTS
  • 1 cup butter (softened)
  • 2 cups sugar
  • 2 teaspoons vanilla extract
  • 6 large egg whites
  • 3 cups all-purpose flour
  • 4 teaspoons baking powder
  • 1 teaspoon salt
  • 1 cup milk
  • Red orange, yellow, green, and blue food coloring
FROSTING INGREDIENTS
  • ½ cup butter (softened)
  • 4 cups powdered sugar
  • 1 teaspoon vanilla
  • 2-3 Tablespoons milk
  • Sprinkles of your choice

Method
 

  1. Preheat oven to 350 degrees Fahrenheit. Prepare five 8-inch round baking pans by coating them with cooking spray and a thin layer of flour and set aside. If you don't have five pans you can bake the cakes in batches.
  2. In a large mixing bowl, cream butter and sugar together. Add vanilla and egg whites. Beat again until smooth.
  3. Add flour, baking powder, salt, and milk. Beat again until batter is smooth.
  4. Separate batter into 5 separate bowls. Add one of the five food coloring colors to each bowl. The amount you add will depend on the type of food coloring you are using. Stir well until colors are even.
  5. Pour each color into a prepared 8 inch round baking pan.
  6. Cook each colored layer for 15 minutes or until a toothpick comes out clean.
  7. When done baking, allow them to cool for 15 minutes before flipping them out of the pans. You may need to use a knife to release the edges. Allow them to cool completely before frosting them.
  8. In a medium mixing bowl, cream butter and powdered sugar together.
  9. Add 2 tablespoons of milk and vanilla. Beat well. If it is too thick, add more milk. If it is too thin, add more powdered sugar.
  10. Place the blue layer of cake on your serving plate. Cover it with a layer of frosting. You will need to spread five layers of frosting, so be sure to continue this with the green, yellow, orange, and red layers.
  11. Add sprinkles of your choice to the top.

Related Recipes