Create a Vibrant Rainbow Cake: A Step-by-Step Guide

Unleash your inner baker and create a stunning rainbow cake that's sure to impress. This delightful dessert is perfect for birthdays, pride celebrations, or any day you want to add a pop of color to your table. Here's a comprehensive, step-by-step guide to help you make a rainbow cake at home.

Gather Your Ingredients
Before you start, ensure you have all the necessary ingredients. For the cake, you'll need:

- 225g (1 cup) unsalted butter, softened
- 225g (1 cup) caster sugar
- 4 medium eggs
- 225g (1¾ cups) self-raising flour
- 2 tsp baking powder
- 4 tbsp milk
- 1 tsp vanilla extract
- Food coloring in red, orange, yellow, green, blue, and purple
For the buttercream frosting, you'll need:

- 200g (¾ cup) unsalted butter, softened
- 400g (3 cups) icing sugar
- 2-3 tbsp milk
- 1 tsp vanilla extract
Prepare Your Cake Pans
To create a smooth, even cake, it's essential to prepare your pans correctly. Grease and line six 15cm (6in) round cake tins with baking parchment. This will ensure your cakes don't stick and are easy to remove.

Make the Rainbow Cake Batter
Preheat your oven to 180°C (160°C fan) or 350°F. In a large mixing bowl, cream together the butter and caster sugar until light and fluffy. Add the eggs one at a time, mixing well after each addition.
Sift in the flour and baking powder, then gently fold into the mixture. Add the milk and vanilla extract, and mix until just combined. Be careful not to overmix, as this can lead to a tough cake.

Divide the batter evenly into six bowls. Add a few drops of food coloring to each bowl, mixing well to create vibrant red, orange, yellow, green, blue, and purple batters.
Bake the Rainbow Layers


















Spoon the colored batters into the prepared cake tins, one color per tin. Use a small offset spatula to smooth the tops. Bake for 15-20 minutes or until a skewer inserted into the center of each cake comes out clean.
Allow the cakes to cool in the tins for 5 minutes, then transfer them to a wire rack to cool completely.
Prepare the Buttercream Frosting
While the cakes are cooling, make the buttercream frosting. Beat the butter until soft, then gradually add the icing sugar, mixing well after each addition. Add the milk and vanilla extract, and beat until smooth and creamy.
Assemble the Rainbow Cake
Once the cakes are completely cool, it's time to assemble your rainbow masterpiece. Place the red cake on a serving plate or cake stand, and spread a layer of buttercream on top. Repeat with the remaining cakes, ensuring each layer is stuck together with a generous helping of buttercream.
Spread a thin layer of buttercream over the top and sides of the cake to create a crumb coat. Chill the cake for 30 minutes, then apply a second, thicker layer of buttercream. Use a turntable or a lazy Susan to help you create smooth, even layers.
To create the rainbow effect on the outside of the cake, use a small offset spatula or a bench scraper to gently scrape away the excess buttercream, revealing the colored layers beneath. Start at the top of the cake and work your way down, using a light touch to avoid damaging the delicate layers.
Once you're happy with the rainbow effect, use any remaining buttercream to create a simple border around the top of the cake. Add rainbow sprinkles or edible glitter for an extra touch of sparkle.
Your stunning rainbow cake is now ready to serve and enjoy. Happy baking!