Do the Rainbow
Green highlight

Create a rainbow in a jar using colored water layers, learn about density and color mixing through measuring, pouring, and observing safely.

Orange shooting star
Start Creating
Background blob
Challenge Image
Skill Badge
Table of contents

Step-by-step guide to create a rainbow in a jar

What you need
5 small cups or containers, adult supervision required, clear glass jar or clear cup, dropper or teaspoon for slow pouring, food coloring, granulated sugar, measuring cup or tablespoon, spoon for stirring, warm water

Step 1

Gather all your materials and bring them to a flat table or countertop.

Step 2

Line up the 5 small cups in a row and number them 1 to 5 from left to right.

Step 3

Measure and pour 1/4 cup warm water into each cup.

Step 4

Add sugar to the cups so each cup has more sugar than the last: cup 1 none cup 2 one tablespoon cup 3 two tablespoons cup 4 three tablespoons cup 5 four tablespoons.

Step 5

Stir each cup with the spoon until all the sugar is fully dissolved.

Step 6

Put 2 to 3 drops of food coloring into each cup to make these colors: cup 1 red cup 2 orange cup 3 yellow cup 4 green cup 5 blue.

Step 7

Stir each cup so the color mixes evenly and the liquid looks the same color all the way through.

Step 8

Let the cups cool until the liquid is room temperature so layers do not mix from heat.

Step 9

Pour the most sugary blue cup (cup 5) into the bottom of the clear jar.

Step 10

Hold a spoon with the back up inside the jar and slowly pour the green cup (cup 4) over the back of the spoon to make a second layer.

Step 11

Repeat the slow back-of-spoon pour with the yellow cup (cup 3) to add the next layer.

Step 12

Repeat the slow back-of-spoon pour with the orange cup (cup 2) to add the next layer.

Step 13

Repeat the slow back-of-spoon pour with the red cup (cup 1) to add the top layer gently.

Step 14

Share a photo of your finished rainbow jar and what you observed about the layers on DIY.org.

Final steps

You're almost there! Complete all the steps, bring your creation to life, post it, and conquer the challenge!

Complete & Share
Challenge badge placeholder
Challenge badge

Help!?

What can we substitute if we don't have a clear jar, numbered small cups, or food coloring?

Use a clean clear plastic bottle or glass and any small containers like yogurt cups labeled 1–5, and replace commercial food coloring with safe liquid watercolors or natural dyes (beet for red, turmeric for yellow, spinach for green) while keeping the step of increasing sugar in cups 1–5 the same.

My layers mixed or sank — what likely went wrong and how can I fix it?

Make sure each cup's sugar is fully dissolved by stirring until clear, let all cups cool to room temperature as instructed, and pour in order from the most sugary (cup 5) to the least while pouring very slowly over the back of a spoon to prevent mixing.

How can I adapt this activity for different age groups?

For younger children, have an adult pre-make and color the five solutions and assist with the slow back-of-spoon pouring or reduce to 3 layers, while older children can precisely measure sugar, add more gradations or test other liquids like corn syrup to study density.

How can we extend or personalize the finished rainbow jar?

After layering as instructed, add glitter or tiny beads between layers, seal and decorate the jar lid, and photograph the jar with notes about layer order and stability to upload to DIY.org as suggested.

Watch videos on how to create a rainbow in a jar

0:00/0:00

Here at SafeTube, we're on a mission to create a safer and more delightful internet. 😊

How to draw a rainbow: Simple tutorial for kids | Art and Learn | Drawing, coloring and painting

4 Videos

Facts about density and color mixing for kids

⚖️ Adding more sugar makes water heavier — denser solutions sink below lighter ones so you can build several distinct layers

🎨 Food coloring mixes to make new shades, but mixing all the colors together often makes brown, so plan color order to keep it bright

🌡️ Temperature changes density — warmer liquids are usually less dense and can rise, which may blur your rainbow if layers aren’t the same temperature

🍭 Warm water dissolves sugar faster, so make syrups of different sweetness to create clear layers (ask an adult to handle hot water)

🌈 You can stack colorful sugar-water layers like a rainbow because each layer has a different density so they don’t mix right away

How do you make a rainbow in a jar using colored water layers?

To do Do the Rainbow, make several cups of colored water with increasing sugar concentrations to change density. Start by adding different amounts of sugar to equal volumes of warm water, then stir until dissolved and tint each cup with food coloring. Pour the densest (most sugar) layer into a clear jar first, then slowly add lighter layers over a spoon or down the jar side. Observe how colors stack and mix; supervise children and discuss density and color mixing.

What materials do I need to create a layered rainbow jar?

You'll need a clear glass or plastic jar, several small cups, measuring spoons and a measuring cup, warm water, granulated sugar, food coloring, a spoon for mixing, a ladle or tablespoon for pouring, and a towel. Optional: a funnel, pipette or dropper for careful layering, labels for each solution, and a protective mat or tray. Always have adult supervision and prepare solutions ahead to minimize spills.

What ages is the rainbow-in-a-jar activity suitable for?

This activity suits preschoolers to tweens with age-appropriate supervision. Ages 3–5 enjoy pouring and color play with close adult help; use pre-made layers for safety. Ages 6–8 can measure and help make sugar solutions while supervised. Ages 9–12 can mix, pour slowly using tools, and discuss density and color mixing more deeply. Adapt tasks to fine motor skills and always supervise younger children.

How can I keep kids safe while making a layered rainbow jar?

Keep kids safe by supervising every step, using food-safe ingredients and cool or room-temperature water only. Use plastic jars for younger children to avoid broken glass. Prevent tasting—explain colored sugar solutions are not for drinking—and wipe spills immediately to avoid sticky floors. Pre-measure sugar for little ones and let older children pour slowly over a spoon. Seal the jar when finished and label it; dispose of solutions down the drain with water.
DIY Yeti Character
Join Frame
Flying Text Box

One subscription, many ways to play and learn.

Try for free

Only $6.99 after trial. No credit card required

Do the Rainbow. Activities for Kids.