• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
The Unlikely Baker®
  • Home
  • Ice Cream
  • Recipes
    • Cakes
    • Cupcakes and Muffins
    • Cookies
    • Brownies and Bars
    • Pies and Tarts
    • Bread and Biscuits
    • Breakfast and Brunch
    • No Bake Desserts
    • Ice Cream and Frozen Treats
    • Filipino Desserts and Kakanin
    • Filipino Cuisine
    • Other Sweet Treats
    • Video Recipes
    • Ube Recipes
    • Lemon and Citrus Recipes
    • Savoury Recipes
    • Drink Recipes
    • Recipe Collections
  • Contact
  • About Me
    • Hello
    • Terms of Use
  • Recipe Index
menu icon
go to homepage
  • Home
  • Berry Desserts
  • Recipes
  • About Me
  • Contact
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • YouTube
  • subscribe
    search icon
    Homepage link
    • Home
    • Berry Desserts
    • Recipes
    • About Me
    • Contact
    • Facebook
    • Instagram
    • Pinterest
    • Twitter
    • YouTube
  • ×
    Home » Recipes » Cakes

    You Can Make Any Cake a Rainbow Cake

    by Jolina | Published: June 1, 2016 | Last Updated: March 29, 2022 | 69 Comments
    This site contains affiliate links. As an Amazon Associate I earn from qualifying purchases. See Terms of Use for more information.

    • Share
    • Flip
    • Tweet
    • Share
    • Send
    Jump to Recipe
    Rainbow Cake

    You can make any cake a rainbow cake – you just need a basic white or yellow cake, lots of bowls, a little patience, and the colours of the rainbow. A happy disposition is recommended (but optional).

    Rainbow Cake

    Toronto is a remarkable city.

    If you haven’t been to visit, let me tell you, the things you hear about it are true – it’s clean, it’s safe, people are polite.

    It is such a welcoming city, too – no matter the colour of your skin, no matter your religion (or lack thereof), no matter your ethnicity or sexual orientation, Torontonians accept you for who you are.

    Happy Pride!

    Rainbow Cake

    In fact, we celebrate our diversity, it’s what makes our city unique. And this is most apparent during Pride Week.

    Pride used to be just about LGBTQ (and it still is) but it’s evolved to become even more inclusive. And it culminates in a Pride Parade where a million people are out on the streets, just being themselves, having a grand time.

    This year though, they’ve decided to make it Pride Month, starting today. And what better way to kick off celebrations than with cake? (Cake is always the answer).

    And what better cake to celebrate with than a rainbow cake?

    Your favourite cake, rainbow-fied

    Rainbow Cake

    A rainbow cake looks intimidating (6 layers!) but it’s really just your favourite white or yellow cake (in my case, I used my favourite vanilla cake) that’s divided into 6 layers and tinted the colours of the rainbow.

    It takes time and patience but the end result is worth it.

    Rainbow cake tips and tricks

    Rainbow Cake

    You can’t just take any cake and tint it though. There are some things you need to keep in mind:

    • Since this is going to be a 6-layer cake, the cake you pick has to be dense. Stay away from the soft and too moist cakes because after the 4th layer, your cake might not be able to support any more and either sink, sag or just collapse.
    • Pick a cake that has enough batter to be divided into 6. You want layers, not pancakes.
    • When dividing the batter, use a kitchen scale. You can eyeball it but do you really want to take the chance and end up with uneven layers? A kitchen scale is very useful here. You can get one for less than $20.
    • When dividing your batter, remember that there will be residue batter left on the bowl or the cup you’re using to transfer or the spatula you’re using to scrape. So if you have a total batter of 1300g / 6 = 216.67, don’t transfer exactly 216.67 to each bowl because you won’t have enough for your last one. Transfer a gram or two under to account for rogue batter.
    • If you don’t have enough pans, don’t be tempted to use different sizes and plop them into the oven all at once. And you can’t let the batter sit in the bowl waiting for the first batch to bake because the ingredients are reacting to one another more than they should. You’d need to divide the recipe and make only enough for the pans you have (i.e. if you only have 2 8-inch pans, you will have to divide the recipe into 3 so you’ll make it 3 times).
    • You need to use gel food colour. The liquid kind just won’t be vibrant enough and you’ll need to use a lot, which will put too much unnecessary liquid into your batter.
    • Once your cakes are baked, trim the top as well as the sides. Not only to ensure they are even, but also to ensure you get the burnt/brown spots out of there.

    Rainbow cake frosting

    Rainbow Cake

    Now what to frost your cake with. I say pick your favourite frosting and go with it!

    White is always stunning with the rainbow colours but hey, it’s your rainbow cake and it’s all about celebrating who you are and what makes you happy. Just make sure you have enough frosting to frost between and all over your cake.

    In my case, I used my go-to Swiss Meringue Buttercream and it went perfectly with my vanilla rainbow cake. It was delicious.

    Step back and bask in the colours of the rainbow

    Rainbow Cake

    I know it looks like a lot of work but when you get into it, it’s really not that difficult.

    And the moment you cut into the cake and your exquisite layers look right back at you – take a moment and pat yourself in the back. Well done you.

    So do your planning, bake this cake and wow your guests, birthday celebrant, yourself.

    Rainbow Cake

    You Can Make Any Cake a Rainbow Cake

    Author: Jolina
    You can make any cake a rainbow cake – you just need a basic white or yellow cake, lots of bowls, a little patience, and the colours of the rainbow.
    5 from 1 vote
    Print Recipe Pin Recipe
    Prep Time 1 hour hr
    Cook Time 20 minutes mins
    Total Time 1 hour hr 20 minutes mins
    Course Dessert
    Cuisine North American
    Servings 12 servings
    Calories 406 kcal

    Equipment

    • Stand Mixer
    • Cake Turntable
    • Icing Tips

    Ingredients
      

    For the Cake:

    • 3 cups all purpose flour
    • 1 tablespoon baking powder
    • ½ teaspoon salt
    • 4 large eggs room temperature
    • 2 cups granulated sugar
    • 1 tablespoon vanilla extract
    • ¾ cup canola oil
    • 1 ¼ cup milk room temperature
    • Gel food colour – red orange, yellow, green, blue and purple

    For the Frosting:

    • You can use your favourite frosting or see below for Swiss Meringue Buttercream

    Instructions
     

    For the Cake:

    • Preheat oven to 350F and grease the sides and the bottoms of 6 8-inch pans (see my tips on what to do when you don’t have 6 pans). Line the bottom with parchment paper for easy release. Set aside.
    • In a medium bowl, combine 3 cups flour, 1 tablespoon baking powder and ½ teaspoon salt. Set aside.
    • Using a handheld electric mixer or a stand mixer fitted with the paddle attachment, beat the 4 eggs, 2 cups sugar and 1 tablespoon vanilla until light and triple in volume (about 10 minutes). Start on low speed then gradually move up to medium-high speed. Drizzle the ¾ cup canola oil while beating.
    • Switch to low speed and add a third of your flour then half your milk. Another third of your flour, the rest of your milk and finally the rest of your flour. Make sure each addition is incorporated well. Beat the batter until smooth (about 5 minutes).
    • Weigh your batter and divide the total weight into 6. Transfer the corresponding weight into separate bowls (see my tips on how to correctly divide and transfer the batter). Tint each bowl in red, orange, yellow, green, blue and purple. Then transfer into prepared pans and bake for 20 minutes (see notes) or until a toothpick inserted in the middle comes out clean or with minimal crumbs.
    • Let cool in the pans for 10 minutes before transferring to a rack to cool completely.

    For the Frosting:

    • See Swiss Meringue Buttercream

    For the Assembly:

    • Trim the tops of the cake to ensure they are level. Also trim the sides to remove any burnt spots. The important thing to remember is all your cakes must be of equal width and height.
    • Put the purple cake on a cake turntable first and evenly spread frosting on top. Do the same for the blue, green, yellow, orange and red layers. Then proceed to cover the rest of the cake with frosting and decorate as desired.

    Notes

    1. You can also use 6 6-inch pans. Just remember that you will end up with a smaller width cake but thicker layers, and therefore a taller cake.
    2. If you have 6 pans, they won’t all fit on the middle oven rack position. So at 10 minutes, switch the bottom pans with the top pans for an even bake.
    3. You can cook the cakes the day before and make the frosting the day you’re serving the cake. Just leave the cakes on the counter and loosely cover with a tea towel.
    4. You’ll notice that my red layer is more pink/coral than red. I used the red gel colour but it turned pink. Any tips?

    Nutrition

    Calories: 406kcalCarbohydrates: 59gProtein: 6gFat: 17gSaturated Fat: 2gPolyunsaturated Fat: 4gMonounsaturated Fat: 10gTrans Fat: 1gCholesterol: 58mgSodium: 129mgPotassium: 195mgFiber: 1gSugar: 35gVitamin A: 120IUCalcium: 88mgIron: 2mg

    Nutritional information are estimates only.

    Tried this recipe? Leave a star rating today!Also tag @iamtheunlikelybaker I’d love to see your creations.

    (Vanilla cake recipe adapted from Ricardo).

    Happy baking! (And Happy Pride Toronto!)

    Did you make this rainbow cake? Tell me about it in the comments section below. I’d love to hear all about it.

    Want another fun cake? Check out this Funfetti Cake.

    More Cakes

    • A slice of ube tres leches cake.
      Ube Tres Leches Cake
    • A slice of pistachio sans rival on a plate.
      The Best Pistachio Sans Rival
    • A slice of ube cake flan on a plate.
      Ube Cake Flan
    • Basque cheesecake showing the vibrant purple ube filling.
      Ube Basque Cheesecake
    • Share
    • Flip
    • Tweet
    • Share
    • Send

    Reader Interactions

    Comments

    1. liz

      June 02, 2016 at 2:01 pm

      Mmmmm-mmmmm-mmmmm!!!! I think I’ve just found my next birthday cake as your rainbow cake looks amazing!!!! And great instructions too so it looks do-able! And I have a month to practice….now then, where’s my apron….?!! Great post, thanks for sharing!

      Reply
      • Jolina

        June 06, 2016 at 10:17 pm

        Awesome! I’m excited for you Liz! Let me know how it goes (but just in case things get lost in cyberspace – I wish you a very happy birthday!)

        Reply
    2. JT

      June 02, 2016 at 12:29 pm

      These are so pretty! I love how in the pictures. You show Hers and Hers mugs! My wife and I have thought about moving to Canada. The U.S. is getting more and more scary. Violence is getting way out of hand here. Maybe once it was a great nation. But now it is more like the ghetto side of town that you avoid….

      Reply
      • Jolina

        June 06, 2016 at 10:21 pm

        Thanks very much JT! I got those mugs at a huge discount too 🙂 Sorry to hear about the violence. Toronto has crime too don’t get me wrong – I guess there’s crime anywhere. We all just really need to be smart and careful these days eh? It’s not the world our parents grew up in that’s for sure.

        Reply
    3. Amy Jones

      June 02, 2016 at 12:08 pm

      I bet this tastes like happiness. Keep up the good work!!

      Reply
      • Jolina

        June 06, 2016 at 10:21 pm

        Oh my, that’s exactly how I would describe it lol! Thanks Amy! Appreciate it 🙂

        Reply
    4. Ana De- Jesus

      June 02, 2016 at 11:45 am

      AW Happy Pride and I love that Toronto is so welcoming and inclusive rather than exclusive. The cake is amazing!

      Reply
      • Jolina

        June 06, 2016 at 10:24 pm

        Thanks Ana! There are some bad apples as with any city but generally people are nice and welcoming 🙂 Happy Pride!

        Reply
    5. Kate

      June 02, 2016 at 6:10 am

      What a stunning cake. My children would LOVE it!

      Reply
      • Jolina

        June 06, 2016 at 10:33 pm

        Thanks Kate! Try keeping the layers a secret then watch their faces when they see the rainbow inside. FUN! 🙂

        Reply
    6. Dannii

      June 02, 2016 at 6:00 am

      I am hoping that my husband will make me a rainbow cake for my birthday – they look beautiful.

      Reply
      • Jolina

        June 06, 2016 at 10:33 pm

        Drop a major HINT HINT 🙂 Hope you get your wish! Thanks Dannii!

        Reply
    7. Megan Indoe

      June 02, 2016 at 2:31 am

      Oh my gosh this is so amazing! I would love to attempt this! Unfortunately, I lack the patience needed to make this! Haha. Perhaps on a special occasion I could muster up the patience to make such a beautiful cake! Thanks for sharing!

      Reply
      • Jolina

        June 06, 2016 at 10:35 pm

        Believe me Megan, patience is NOT one of my virtues either haha. So if I can do it anybody can! Just a little planning and organization and you’re set. Let me know when you get the chance to attempt it! 🙂

        Reply
    8. Liz

      June 01, 2016 at 4:16 pm

      Jolina you’re killing me – all I can think about is combining this rainbow cake with your funfetti cake! OMG the colors and the sprinkles together! I could die! Love love love.

      Reply
      • Jolina

        June 06, 2016 at 10:43 pm

        Thanks very much Liz! Putting sprinkles in the rainbow cake will be an eruption of colours like you’ve never seen before. Your kitchen (and you) will never be the same lol! Cannot wait to see what you come up with 🙂

        Reply
    9. Georgina

      June 01, 2016 at 1:55 pm

      This cake looks absolutely amazing. I love the look of rainbow cakes but hardly ever use food colouring. Swiss buttercream is my favourite too.

      Reply
      • Jolina

        June 06, 2016 at 11:06 pm

        Thanks Georgina! I used gel food colour – you only need very little to get vibrant colours like that. And isn’t Swiss Buttercream just a dream to frost with? 🙂

        Reply
    10. Suchi

      June 01, 2016 at 12:00 pm

      No idea how to make it red but it looks perfect! Rainbow cake is on my to do list forever. I love Toronto beautiful city and foodies heaven.

      Reply
      • Jolina

        June 06, 2016 at 11:08 pm

        Hi Suchi! I had the same problem last Christmas. I gave away Christmas cupcakes that had fuchsia frosting haha. I don’t know why red does not like me! Hope you can visit Toronto; it is a great place for foodies 🙂

        Reply
    11. Tracy

      June 01, 2016 at 11:39 am

      You make this look so easy!! Your cake making skills are definitely something I aspire to – I’m FAR from making any layered cake in general! This is simply gorgeous!

      Reply
      • Jolina

        June 06, 2016 at 11:09 pm

        Thanks! Though I’m just learning too Tracy 🙂 So if I can do it anybody can for sure 🙂

        Reply
    12. Mary

      June 01, 2016 at 11:35 am

      What a great way to celebrate Pride month! That cake is gorgeous!

      Reply
      • Jolina

        June 06, 2016 at 11:10 pm

        Thanks very much Mary! Happy Pride to you 🙂

        Reply
    13. Sue

      June 01, 2016 at 11:18 am

      I have ALWAYS wanted to make (and eat!) one of these rainbow cakes, you’ve made it sound so easy, I think I’ll finally give it a go — what a wonderful surprise to cut into the pure white cake and see the stripes 🙂

      Reply
      • Jolina

        June 06, 2016 at 11:11 pm

        Hi Sue! It’s really not as difficult as it looks – just lots of planning and organization 🙂 I’m excited for you! Let me know how it goes 🙂

        Reply
    14. Brandon

      June 01, 2016 at 10:55 am

      Happy Pride! This is a lovely way to celebrate 🙂 Those rainbow layers are just perfect.

      Reply
      • Jolina

        June 06, 2016 at 11:12 pm

        Hi Brandon! Thank you very much! And happy pride to you too! 🙂

        Reply
    15. Jo

      June 01, 2016 at 10:42 am

      Oh I do love the idea of a rainbow cake, but they are often so less well executed than this one – which is gorgeous! What a brilliant and informative post too, packed full of great hints and tips 😀

      Reply
      • Jolina

        June 06, 2016 at 11:13 pm

        Thank you very much Jo! I tried to make it as detailed as possible so everybody can make rainbows 🙂

        Reply
    Newer Comments »
    5 from 1 vote (1 rating without comment)

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    Rate the Recipe




    Primary Sidebar

    Hi, I'm Jolina! And I'm definitely a late bloomer, a thoroughly unexpected baker.

    More about me →

    Popular

    • Pecan Bars Recipe
      Bourbon Pecan Pie Bars with Shortbread Crust

    • Ube Cake (Filipino Purple Yam Cake)
      Ube Cake (Filipino Purple Yam Cake)

    • Best Lemon Cheesecake
      The Best Lemon Cheesecake. Ever.

    • Classic Buttermilk Scones
      Classic Buttermilk Scones – Easy, Delicious, Done in 15 Minutes

    Spring Desserts

    • Strawberry Rhubarb Galette
      Strawberry Rhubarb Galette

    • A stack of raspberry white chocolate cookies on a plate.
      Raspberry White Chocolate Cookies

    • Photo of ricotta cake showing juicy blueberries within.
      Lemon Blueberry Ricotta Cake

    • Slice of strawberry ricotta cake with whipped cream and strawberries.
      Strawberry Ricotta Cake (Easy No-Fail Recipe)

    Footer

    ↑ back to top

    About

    • About
    • Terms of Use

    Newsletter

    • Sign Up! for emails and updates

    Contact

    • Contact

    As an Amazon Associate, I earn from qualifying purchases.

    Copyright © 2016-2025 The Unlikely Baker ™

    Rate This Recipe

    Your vote:




    A rating is required
    A name is required
    An email is required

    Recipe Ratings without Comment

    Something went wrong. Please try again.