Make This Easy Rainbow Layer Cake

Make this ROYGBIV cake for St. Patrick's Day, a Pride celebration or any festive occasion. Just make sure to top it off with a pot of gold.

rainbow layer cake

Rainbow Cake

Baking colored cakes can be tricky – the cake may go in one color and come out a very different color. Why not avoid the trial and error by using rainbow colored icing to create a rainbow cake instead? Add sparkling gold sanding sugar on the top as a special added touch.

Photo by: Ellen Foord

Ellen Foord

Baking colored cakes can be tricky – the cake may go in one color and come out a very different color. Avoid the trial and error by opting for colored icing instead of dyes, and you'll get the same look with less hassle. For a little luck-of-the-Irish touch, create a sparkling gold sanding sugar top featuring a four-leaf clover in the center. We made a mini version for this recipe, but the technique can be used for any size cake.

Materials Needed

  • white cake (either from a recipe or box mix)
  • icing in each color of the rainbow
  • white frosting
  • gold sanding sugar
  • knife
  • icing spatula
  • mesh sieve

Bake and Cut Cake

Start by baking a white cake using any recipe or box mix. Allow it to fully cool. Next, cut off the dome top of the cake (Image 1). Discard or set aside for snacking. Cut the cake into several thin layers using a sharp serrated knife (Image 2). Lay the first layer in the center of a plate.

Apply Icing

Apply a layer of purple icing to the top of the cake layer (Image 1). Next, top with another layer of cake and apply a layer of blue icing. Continue the icing/cake layering process until each color of the rainbow is present and place the topmost layer of cake on the red icing (Image 2). Chill in the fridge to firm.

Apply Frosting

Mix a batch of white frosting, or use store-bought for convenience. Crumb coat the cake with a thin layer of white frosting. Chill the cake. Once the crumb coat is set, apply a thicker coat of frosting and use your spatula to create texture.

applying frosting

Apply Frosting

Crumb coat the cake with a thin layer of white frosting. Chill again.

Photo by: Ellen Foord

Ellen Foord

Create Clover

Pour a small amount of sanding sugar into a fine-mesh sieve. Then, holding the paper template over the center of the cake, shake the sieve gently to sprinkle sugar over the top of the cake (Image 1). Remove the template to reveal the clover (Image 2).

Cut and Enjoy

Cut into the cake with a sharp knife to reveal the rainbow layers. Don't forget to make a lucky wish!

Next Up

This Adorable Beaded Succulent Is So Easy to Make

TikTok loves this plant that’s impossible to kill.

Shop With Pride: 10+ Rainbow Buys That Give Back

Support companies making a difference this June by buying products that benefit LGBTQ+ causes and non-profits.

How to Clean Your Garbage Can (and Keep It Smelling Fresh)

This monthly chore is easy to ignore, but it makes a big difference when it comes to managing the ick.

How to Make DIY Wind Chimes With Copper Pipes

Learn how to make wind chimes — outdoor art pieces that sound as pretty as they look — with this easy step-by-step guide.

'Home Town' Tricks: It's So Easy to Pleat With a Fork

On Season 9 of Home Town, co-host Erin Napier and sewist Clayton Boler turn a kitchen staple into a clever pleating tool. Here's how you can put forks to work in your own space.

10 Home Projects To Tackle This Summer

Make the most of the long summer days ahead and elevate your casa with home project ideas with Scout & Nimble.

This Bissell Steam Cleaner Is Our Secret to Easy Holiday Prep

The new Bissell Steam Shot OmniReach is perfect for steam cleaning before holiday guests arrive.

8 Patio Misters That Will Keep You Cool This Summer

Beat the heat this summer with these top-rated patio misters.

What to Know About Pruning Rose Bushes In 4 Easy Steps

Find out which tools are needed to properly prune roses without crushing the stems, when to prune roses and how to make your cuts.

How to Make Easy Concrete Pumpkins

Learn how simple it is to create decorative pumpkins using concrete, twine and, surprisingly, pantyhose or tights.

Go Shopping

Get product recommendations from HGTV editors, plus can’t-miss sales and deals.

On TV

About HGTV

HGTV’s expert editors and writers share home decorating, garden and home improvement ideas, inspiration and advice based on our brand’s 30+ years of expertise and experience. We also give you the latest updates on HGTV shows and stars, cleaning tips and shopping recommendations. Learn more about us and our editorial standards.