How to Make a Rainbow with Food Coloring

Nicholas Jul 31, 2026

Bring a burst of color and delight to your kitchen with a fun and easy science experiment: creating an edible rainbow using food coloring! This activity is perfect for kids and adults alike, and the best part is, you get to enjoy the results.

instructions for how to make a rainbow volcano cake
instructions for how to make a rainbow volcano cake

Creating a rainbow with food coloring involves understanding how colors mix and combine. By manipulating the primary colors, red, blue, and yellow, you can create a vibrant rainbow that not only lights up the room but also satisfies your sweet tooth.

the instructions for making rainbow fizzy ice cubes
the instructions for making rainbow fizzy ice cubes

Understanding Color Basics

The first step in creating a rainbow with food coloring is understanding how colors work. There are three primary colors: red, blue, and yellow. When these are mixed, they create secondary colors – green, orange, and purple. Tertiary colors are created when a primary and a secondary color are mixed together.

Volcanic Rainbow Eruptions- A great STEM activity for toddlers
Volcanic Rainbow Eruptions- A great STEM activity for toddlers

To create the full rainbow spectrum, you'll need to adjust the amounts of each color to create the desired shades. It's a fun experiment of trial and error that yields surprisingly beautiful results.

Gathering Your Tools

🌈 Rainbow in a Glass: Creating Colorful Magic! 🧪✨
🌈 Rainbow in a Glass: Creating Colorful Magic! 🧪✨

Before you start, gather all the necessary tools. You'll need food coloring in red, blue, and yellow, as well as water, a clear container like a glass or plastic bowl, and something to mix your colors with, like a spoon or a dropper.

You may also want to have some clear or lightly colored candy or icing at hand to test your colors on. Alternatively, you can use a white or lightly colored surface to see the colors more clearly.

Mixing Your Colors

COLORFUL RAIN CLOUD 🌧️🌈   if your looking for a rainy day toddler activity you’ve gotta try this one!  follow + comment “RAIN” for the products used to be sent directly to your inbox!  How to make: - add a few drops of food coloring + small amount of water to a few jars/containers  - fill a bigger vase with water and add shaving cream to the top - use droppers to drop in the food coloring to the shaving cream - the key is to make smaller drops💧 - and enjoy the colorful rain!  #toddleractiviti... Water Coloring For Toddlers, Monsoon Activity, Weather Art Activities For Toddlers, Rainy Activities For Kids, Rainy Day Sensory Activities, Weather For Toddlers, Indoor Water Activities For Kids, Rainy Day Activity For Kids Preschool, Toddler Weather Activities
COLORFUL RAIN CLOUD 🌧️🌈 if your looking for a rainy day toddler activity you’ve gotta try this one! follow + comment “RAIN” for the products used to be sent directly to your inbox! How to make: - add a few drops of food coloring + small amount of water to a few jars/containers - fill a bigger vase with water and add shaving cream to the top - use droppers to drop in the food coloring to the shaving cream - the key is to make smaller drops💧 - and enjoy the colorful rain! #toddleractiviti... Water Coloring For Toddlers, Monsoon Activity, Weather Art Activities For Toddlers, Rainy Activities For Kids, Rainy Day Sensory Activities, Weather For Toddlers, Indoor Water Activities For Kids, Rainy Day Activity For Kids Preschool, Toddler Weather Activities

Start by adding a drop of red food coloring to a small amount of water. Mix well to ensure the color is evenly distributed. Add a drop of blue to create the first secondary color, purple. Stir well to mix the colors together.

Continue adding colors to create the rest of the rainbow. For orange, mix red and yellow. For green, mix blue and yellow. Remember, a little goes a long way with food coloring, so start with small amounts and add more as needed. If you add too much, you can always add more water to lighten the color.

Creating Your Rainbow

the process to make rainbow rocks is shown with instructions for how to dye them and paint them
the process to make rainbow rocks is shown with instructions for how to dye them and paint them

Now that you have your colors, it's time to arrange them into a rainbow. Start with red on the far left and move through orange, yellow, green, blue, and finally, purple on the far right. Remember, the color order is important for creating a rainbow effect.

To create a more dynamic rainbow, try experimenting with the intensity of each color. For example, you could create a deep purple by mixing more blue and red, and then create a lighter purple by adding more water.

Grow a Rainbow Experiment
Grow a Rainbow Experiment
a person is painting different colors on a white plate
a person is painting different colors on a white plate
Bubble Rainbow Experiment 🫧
Bubble Rainbow Experiment 🫧
🌈 Grow a Rainbow | Science Experiment for Kids
🌈 Grow a Rainbow | Science Experiment for Kids
Science Project for Kids Magic Rainbows
Science Project for Kids Magic Rainbows
the process for making rainbow swirl cookies is shown
the process for making rainbow swirl cookies is shown
Rainbow Experiment - Lessons for Little
Rainbow Experiment - Lessons for Little
Brighten your day with rainbows 🌈  #rainbowlife #diyprojects #crafts #colorfulvibes #foodieideas Rainbow Foods, Food Coloring Activities For Kids, Easy Fun Diy Crafts, Fun Kid Desserts, Magic Crafts For Kids, Diy Colorful Dessert Ideas, Rainbow Food Videos, Rainbow Party Food, Rainbow Party Ideas
Brighten your day with rainbows 🌈 #rainbowlife #diyprojects #crafts #colorfulvibes #foodieideas Rainbow Foods, Food Coloring Activities For Kids, Easy Fun Diy Crafts, Fun Kid Desserts, Magic Crafts For Kids, Diy Colorful Dessert Ideas, Rainbow Food Videos, Rainbow Party Food, Rainbow Party Ideas

Testing Your Colors

Once you have your array of colors, it's time to test them. If you have candy or icing, dip it into each color and watch as it changes hue. If you're using a white surface, drop each color onto the surface and watch as the colors start to blend together, forming a beautiful rainbow.

Remember, this is a science experiment, so don't be afraid to make mistakes and learn from them. Food coloring is inexpensive and easy to clean up, so have fun and enjoy the creative process!

Serving Your Rainbow

After you've created your rainbow, it's time to enjoy it! If you've been testing your colors on candy or icing, it's ready to eat. If you've been using a white surface, you can transfer your colors to a plate or platter for presentation.

Consider serving your rainbow with a side of imagination – you could make it into a storytelling prop, explaining how the colors created the rainbow in the sky. Or you could simply enjoy it as a stunning piece of edible art.

Creating a rainbow with food coloring is a fun, engaging activity that combines science, art, and creativity. It's a great way to learn about colors and the power of experimentation. So go ahead, get those colors out, and create your very own edible rainbow!