Cakes / Pastries / Cookies/ Bread/Muffins.

Xylophone Rainbow Cake

As a little girl, I always had a fascination with colors and shades, just like any little girl of my age. I remember going so crazy happy seeing my neighbours etch lovely rangolis and fill them up with all the colors of the rainbow. Every year, my school held competitions for Rangolis and we used to plan to fill up the rangolis with imaginative colors and fillers. There was once we mixed color rangoli powder with rock salt to give the rangolis an embossed finish. Another time we mixed it with white lentils and filled it up then realised by afternoon all the lentils had gotten swept away in the wind! I had seen my good friend using colors to decorate her cakes and I simply loved it when food colour drops spread all over butter icicing getting churned in the mixer bowl and goes round and round and meanders in to create lovely bright colored icing. I wanted to recreate colours in to a cake as layers right next to one another as this is how my little one wanted it! I tried to do this and was might pleased with the results., Next time I want to cover the cake in milky white icing so whoever cuts it, would love the colors inside!


2 Cups All Purpose Flour.

3/4 Stick of butter or 125 gms of butter (approx) at room temperature.

2 Eggs.

1 Heaped Cup Sugar.

2 Tsp Baking Powder.

1/2 Tsp Baking Soda.

1 1/4 Cup Milk.

1 Tsp Vanilla Extract.

Red Blue Green Yellow Food Colorings.


  • Baking always states that we start with preparing the dry ingredients and keep them ready – So mix the all purpose flour, baking soda and baking powder in a bowl.
  • Preheat the oven to 350F and grease a cake pan / tin with butter.
  • In a mixing bowl, cream the butter and the sugar until light and fluffy.
  • Add the eggs one after the other and beat them again till the batter is light – this should take a few minutes.
  • Now alternately add the flour and the milk and make sure that the flour is added finally.
  • This is done so, even if the batter turns out too thick, we could always add a little more milk.
  • Now add the vanilla essence and mix it all in.
  • I used a stand mixer to help with the mixing of the batter, but your hands would also do!
  • Divide the batter in to 7 equal cups and set aside.
  • Add drops of food coloring – I used the 4 food colours of Red, Blue, Green and Yellow to create purple, dark blue, turquoise, green, yellow, orange and red.
  • In the end I had 7 cups of each of the rainbow colors andΒ  must say they made such a pretty sight!
  • I layered them one after the other in a square baking pan and smoothed them to create a xylophone effect.
  • Then pop them in to the baking pan and bake for 25-35 minutes depending on how long they take to get done in your oven.
  • When a toothpick inserted in the cake, comes out clean without any sticky mess, then its time to pop out your cake and let it cool.
  • The top would have browned a little, but cut it in to little slices and be amazed at the colors!!


  1. This cake can be modified for any occasion…Pink for a little girls`s party, Orange and Purple for a Halloween party, red and green for a Christmas party filled with little tuity fruity and nuts and raisins.
  2. This cake can also be made eggless substituting with other ingredients like Buttermilk, condensed milk, flaxseed powder, etc.

9 thoughts on “Xylophone Rainbow Cake

  1. dear lakshmi,

    i shall send you hte recipe soon. Else you can replace eggs with applesauce or chia seeds. Shall mail you soon.


Your opinions are the windows to your heartfelt views...Keep them coming...

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s