
Natural vs synthetic — the chemistry of dyes.
The Morning Before
The morning before Holi in the tea gardens of Assam is quieter than you'd expect. The tea bushes stand in neat rows, dark green and glistening with dew, stretching across the flat land toward the blue hills. Workers move between the rows with their baskets, plucking the last leaves before the holiday begins.
In Line Number 7 — that's what the workers' quarters are called, numbered lines of small brick houses — a girl named Sunita was preparing. She had three steel bowls in front of her: one filled with red powder made from dried hibiscus flowers, one with yellow from turmeric, and one with green from crushed neem leaves.
"Natural colours only," said her grandmother, who was mixing the turmeric. "None of that chemical powder from the market. Our colours come from the earth, and they go back to the earth."
Sunita's family had been tea garden workers for four generations. They had come originally from Jharkhand, brought to Assam by the British a hundred years ago to work the gardens. Other families in the line had come from Bihar, Odisha, Bengal, and Chhattisgarh. They spoke different languages, ate different foods, worshipped different gods.
But on Holi, none of that mattered.
The First Colour
At exactly ten o'clock, the dhol drum started. Old Mangal Bhaiya, who had been the garden's drummer for thirty years, set up outside the community hall and began to play. The rhythm was fast and wild, and within minutes, children poured out of every line — Line 3, Line 5, Line 7, Line 12 — running toward the sound.
Sunita ran with them, her three bowls balanced on a tray. She found her best friend Jonali — an Assamese girl from the manager's quarters — and smeared a streak of yellow across her cheek.
"Happy Holi!" Sunita shouted.
Jonali laughed and retaliated with a handful of pink gulal that turned Sunita's black hair into a sunset. Within seconds, the air was thick with colour — clouds of red, yellow, green, and pink drifting across the garden like a rainbow that had exploded.
The Garden Becomes a Rainbow
What made Holi in the tea gardens special wasn't just the colours — it was who was throwing them. The Adivasi families from Jharkhand danced alongside the Bengali families from Line 3. The Nepali watchman joined the Bihari cook in a water fight near the tube well. The Assamese garden manager, still in his white shirt, got doused by a bucket of pink water thrown by his own daughter.
Languages mixed in the air like the colours: "Holi hai!" in Hindi, "Rangote!" in Assamese, "Phagua!" in Bhojpuri. The women sang songs that had travelled a thousand kilometres from their ancestral villages. The children understood none of the words and all of the joy.
By noon, nobody could tell who was from which community. Everyone was the same colour: a wild, glorious, impossible rainbow of every shade mixed together. The tea garden, usually so orderly with its neat rows and numbered lines, had become the most colourful place on Earth.
The Feast
In the afternoon, the colours dried to a dusty glow on everyone's skin, and the feast began. Every family brought their speciality. Sunita's grandmother brought pua — sweet fried bread soaked in sugar syrup. Jonali's mother brought pithas — rice cakes filled with coconut and jaggery. The Bengali families brought sandesh. The Nepali families brought sel roti.
They spread everything on a long cloth under the rain tree, and two hundred people sat down together — the whole garden, from the manager to the newest worker — and ate from each other's plates.
"This is my favourite day," Sunita told Jonali, turmeric still streaked across her nose.
"Mine too," said Jonali. "Because today, Line Number doesn't matter."
What the Colours Mean
That evening, as the sun set behind the tea bushes and turned the sky the colour of the gulal that covered everyone's clothes, Sunita sat on her doorstep and thought about what Holi meant in the tea gardens.
It wasn't just about colours. It was about the one day when all the invisible lines disappeared — the lines between communities, between languages, between the manager's bungalow and the workers' quarters. On Holi, a splash of colour was an invitation that said: Today, we are the same. Today, we are family.
Sunita's grandmother came and sat beside her. "You know," she said, "when my grandmother first came to Assam, she cried every Holi because she missed home. But then she started celebrating with the people here — people from everywhere — and she said, 'This Holi is even better. Because back home, we celebrated with people who were just like us. Here, we celebrate with people who are different. And that makes the colours brighter.'"
Sunita smiled. The colours on her skin were fading in the evening light, but the feeling — warm, bright, connected — would last until next Holi. And the one after that. And the one after that.
The end.
Choose your level. Everyone starts with the story — the code gets deeper as you go.
Here is a taste of what Level 1 looks like for this lesson:
import numpy as np
import matplotlib.pyplot as plt
# Red cabbage pH indicator: color vs pH
ph_values = np.array([2, 4, 6, 7, 8, 10, 12, 14])
colors = ["#ef4444", "#f472b6", "#a855f7", "#8b5cf6",
"#3b82f6", "#06b6d4", "#22c55e", "#eab308"]
fig, ax = plt.subplots(figsize=(10, 3))
for i, (ph, color) in enumerate(zip(ph_values, colors)):
ax.bar(ph, 1, width=1.5, color=color, edgecolor="white")
ax.text(ph, 0.5, f"pH {ph}", ha="center", fontsize=9)
ax.set_xlim(0.5, 15.5)
ax.set_title("Red Cabbage Juice: 8 Colors from 1 Plant!")
ax.set_xlabel("pH")
ax.set_yticks([])
plt.tight_layout()
plt.show() # Which pH range is neutral?This is just the first of 6 coding exercises in Level 1. By Level 4, you will build: Extract and Test Natural Dyes.
Free
Level 0: Listener
Stories, science concepts, diagrams, quizzes. No coding.
You are here
Level 0 is always free. Coding levels (1-4) are part of our 12-Month Curriculum.
Natural vs synthetic — the chemistry of dyes.
The big idea: "The Colors of Holi in the Tea Gardens" teaches us about Chemistry of Colors & Dyes — and you don't need to write a single line of code to understand it.
For thousands of years, all dyes came from nature: turmeric (yellow, from curcumin), indigo (blue, from the Indigofera plant), hibiscus (red, from anthocyanins), henna (orange-brown, from lawsone). These natural dyes are plant molecules that absorb certain wavelengths of light and reflect the rest — turmeric absorbs blue/violet light and reflects yellow/orange, so it looks yellow.
In 1856, an 18-year-old chemistry student named William Perkin accidentally created mauveine — the first synthetic dye, made from coal tar. This launched an entire industry. Synthetic dyes are cheaper to produce, far more vivid, and extremely consistent in color. They also tend to be more color-fast (they resist fading from washing and sunlight).
But synthetic dyes come with costs: some cause skin irritation, many pollute waterways when factory waste is dumped, and they are not biodegradable. Natural dyes are skin-safe and biodegradable but fade faster and require mordants to stick to fabric. Sunita’s grandmother in the story chose natural dyes for Holi — safer for skin, gentler on the earth.
Key idea: Natural dyes are plant molecules that absorb specific wavelengths of light. Synthetic dyes are cheaper and more vivid but can harm skin and waterways.
Dissolve turmeric in water and you get a yellow liquid. Now add baking soda (a base) — it turns red. Why? The curcumin molecule’s structure changes when it gains or loses a hydrogen ion (H⁺). In basic conditions, curcumin loses an H⁺, which extends its conjugated double bond system, shifting the wavelengths it absorbs from blue/violet to green — so it reflects red instead of yellow.
This makes turmeric a pH indicator — a substance that changes color depending on acidity or alkalinity. Red cabbage juice is an even better one: its anthocyanin molecules have 8 different structural states depending on pH, producing colors from red (pH 2) through purple (pH 7) to green (pH 12) and yellow (pH 14).
The underlying principle is always the same: pH changes the molecular structure, which changes which wavelengths are absorbed, which changes the color you see. This is why a single plant extract can produce a rainbow of colors — each color represents a different molecular configuration.
Key idea: pH indicators change color because hydrogen ion concentration alters molecular structure, shifting which wavelengths are absorbed. Turmeric turns red in base; red cabbage shows 8 colors across the pH scale.
Access all 130+ lessons, quizzes, interactive tools, and offline activities
If you dip a cotton strip into turmeric water, it turns yellow. But wash it once and the color fades dramatically. The dye molecules sit loosely on th...
The story takes place in Assam’s tea gardens — and the chemistry of tea and the chemistry of Holi colors are remarkably similar. Both are based on **p...