Basic Rainbow Cake Recipe

Sure, here's a basic rainbow cake recipe:

- 2 1/2 cups all-purpose flour
- 2 1/2 tsp baking powder
- 1/2 tsp salt
- 1 1/2 cups granulated sugar
- 1/2 cup unsalted butter, softened
- 3 large eggs
- 1 1/2 tsp vanilla extract
- 1 cup milk
- Gel food coloring (red, orange, yellow, green, blue, purple)

1. Preheat your oven to 350°F (175°C) and grease and flour three 8-inch round cake pans.

2. In a bowl, whisk together the flour, baking powder, and salt. Set aside.

3. In another bowl, cream together the softened butter and sugar until light and fluffy. This takes about 3-4 minutes with an electric mixer.

4. Beat in the eggs one at a time, mixing well after each addition. Stir in the vanilla extract.

5. Gradually add the dry ingredients to the wet ingredients, alternating with the milk, beginning and ending with the dry ingredients. Mix until just combined.

6. Divide the cake batter into six equal portions. Use gel food coloring to tint each portion a different color of the rainbow.

7. Starting with one color, pour the batter into the center of one of the prepared pans. Let it spread slightly. Then, add the next color on top, repeating with all the colors.

8. Bake the cakes for about 20-25 minutes, or until a toothpick inserted into the center comes out clean.

9. Allow the cakes to cool in the pans for 10 minutes, then remove them from the pans and let them cool completely on a wire rack.

10. Once the cakes are cool, you can frost and assemble your rainbow cake with your favorite frosting, like cream cheese or buttercream.

Enjoy your homemade rainbow cake!