Rainbow cakes are a fun and festive dessert that is perfect for any occasion. They are made with layers of cake that are dyed different colors, and they are often decorated with sprinkles or other colorful toppings.
3 cups all-purpose flour, 2 1/2 cups granulated sugar, 3 1/2 teaspoons baking powder, 1 teaspoon salt, 1 cup (2 sticks) unsalted butter,
4 large eggs, 1 1/4 cups milk, 1 teaspoon vanilla extract, Gel food coloring, in red, orange, yellow, green, blue, and purple
Preheat oven to 350 degrees F (175 degrees C). Grease and flour three 9-inch round cake pans.In a large bowl, whisk together the flour, sugar, baking powder, and salt.
In a separate bowl, cream together the butter and eggs until light and fluffy. Beat in the vanilla extract.
Add the dry ingredients to the wet ingredients alternately with the milk, beginning and ending with the dry ingredients. Mix until just combined.
Divide the batter evenly among three bowls. Add a few drops of food coloring to each bowl and stir until the batter is evenly colored.
Pour the batter into the prepared cake pans and bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. Let the cakes cool completely before frosting.
Place one cake layer on a serving plate. Frost the top with a layer of frosting. Repeat with the remaining cake layers, stacking them on top of each other.
Frost the top and sides of the cake with the remaining frosting. Decorate the cake with sprinkles or other colorful toppings. Serve immediately and enjoy!