Rainbow Sheet Cake

3.3
(4)

The base of this rainbow sheet cake is a super simple vanilla cake that is topped with cream cheese frosting. You can use any vanilla cake recipe here (or even box mix if you really wanted) – just make sure the batter isn't too runny or the colors may bleed into each other. Feel free to adjust the color palette to your preference! Perfect for a kid's birthday party, or a fun weekend activity to bake with kids.

Rainbow Sheet Cake
Prep Time:
45 mins
Cook Time:
30 mins
Additional Time:
1 hr 15 mins
Total Time:
2 hrs 30 mins
Servings:
10
Yield:
1 sheet cake
Cook Mode (Keep screen awake)

Ingredients

Original recipe (1X) yields 10 servings

Cake:

  • baking spray with flour

  • 1 cup unsalted butter, softened

  • 1 ½ cups white sugar

  • 3 large eggs, at room temperature

  • 2 teaspoons vanilla extract

  • 3 cups enriched bleached cake flour

  • 1 tablespoon baking powder

  • ½ teaspoon kosher salt

  • 1 cup whole milk, at room temperature

  • gel food coloring: red or pink, orange, yellow, green, blue, and purple

Frosting:

  • 1 (8 ounce) package cream cheese, softened

  • ½ cup unsalted butter, softened

  • 3 cups powdered sugar, sifted

  • 1 teaspoon vanilla extract

  • teaspoon kosher salt

  • gel food coloring: red or pink, orange, and green

Directions

  1. Gather all ingredients.

    Overhead of rainbow cake ingredients in various bowls and containers.

    Dotdash Meredith Food Studios

  2. Preheat the oven to 350 degrees F (175 degrees C). Grease a 9x13-inch baking pan with baking spray and line with parchment paper; spray parchment with baking spray.

  3. Prepare Cake: Beat butter in a stand mixer fitted with a paddle attachment on medium speed until creamy, about 30 seconds. Gradually add white sugar; beat until light and fluffy, 2 to 3 minutes.

    Overhead of standing mixer with cake batter being mixed in a bowl.

    Dotdash Meredith Food Studios

  4. Add eggs, 1 at a time, and beat just until incorporated after each addition, about 1 minute total. Add vanilla and beat until combined, about 15 seconds. Scrape down sides and bottom of bowl using a flexible spatula.

    Overhead of cake batter in a standing mixer.

    Dotdash Meredith Food Studios

  5. Whisk together flour, baking powder, and salt in a medium bowl until combined.

    Overhead of a flour mixture in a glass bowl.

    Dotdash Meredith Food Studios

  6. Add flour mixture to butter mixture alternately with milk, beginning and ending with flour mixture, beating on low speed just until combined after each addition.

    Overhead of a creamy cake batter in a standing mixer.

    Dotdash Meredith Food Studios

  7. Divide batter equally between 6 small bowls. Add one to two drops of food coloring to each bowl, tinting one bowl red or pink, one orange, one yellow, one green, one blue and one purple. Mix gently to combine and add additional coloring as needed to reach desired shades.

    Overhead of six bowls of cake batter with different colored food coloring in each one.

    Dotdash Meredith Food Studios

  8. Dollop the batter into the prepared pan, alternating colors, until the whole pan is filled. [If you have leftover batter, top up existing dollops of the same color – don't make a second layer of different colors]. Gently bang the pan on the counter to ensure that the batter is evenly distributed and that all gaps are filled.

    Overhead of different colored batters poured next to each other vertically in a baking dish.

    Dotdash Meredith Food Studios

  9. Bake in the preheated oven until a toothpick inserted in the center comes out clean, about 30 minutes. Cool in pan for 15 minutes. Remove cake from pan and cool on a wire rack until completely cool, at least 1 hour.

  10. Prepare frosting: Beat cream cheese and butter in a stand mixer fitted with a paddle attachment on medium speed until smooth, about 1 minute. Reduce mixer speed to low, and gradually add powdered sugar, beating until incorporated, about 2 minutes. Add vanilla and salt, then increase mixer speed to medium, and beat until fluffy, about 1 minute.

    Overhead of frosting being made in a standing mixer.

    Dotdash Meredith Food Studios

  11. Spoon out 1/4 cup of frosting into each of 3 small bowls. Add one to two drops of food coloring to each bowl, tinting one bowl red or pink, one orange, and one green. Mix well to combine and add additional coloring as needed to reach desired shades. Transfer each of the colored frostings to piping bags fitted with small round writing tips. Leave the remaining frosting in the mixing bowl white.

    Overhead of two bowls with orange frosting in one, pink in the other, and green frosting in a piping bag.

    Dotdash Meredith Food Studios

  12. Using a serrated knife, trim the edges of the cake.

    Overhead of a baked rainbow cake having its four sides trimmed with a knife.

    Dotdash Meredith Food Studios

  13. Frost the top of the cake with the white frosting, leaving the sides uncovered.

    Overhead of white frosting being spread over a rainbow cake.

    Dotdash Meredith Food Studios

  14. Use the colored frosting to pipe small rainbows across top of cake.

    Overhead of small rainbows being piped on to the rainbow cake.

    Dotdash Meredith Food Studios

Cook's Tips:

Because the sides are cut open and not covered with frosting, it will stale faster, so this cake is best eaten day-of and stored in an airtight container. If you plan to store the cake for more than 1 day, just add frosting to the sides as well.

Use disposable cardboard/paper bowls to mix up all the colors of batter and frosting for easy clean up.

Nutrition Facts (per serving)

781 Calories
38g Fat
103g Carbs
8g Protein
Nutrition Facts
Servings Per Recipe 10
Calories 781
% Daily Value *
Total Fat 38g 49%
Saturated Fat 23g 117%
Cholesterol 156mg 52%
Sodium 368mg 16%
Total Carbohydrate 103g 38%
Dietary Fiber 1g 3%
Protein 8g 16%
Potassium 139mg 3%

* Percent Daily Values are based on a 2,000 calorie diet. Your daily values may be higher or lower depending on your calorie needs.

** Nutrient information is not available for all ingredients. Amount is based on available nutrient data.

(-) Information is not currently available for this nutrient. If you are following a medically restrictive diet, please consult your doctor or registered dietitian before preparing this recipe for personal consumption.