Colors of India
Building an open-source library of 999 Indian colors and practical tools for palettes, UI themes, terminals, and design exploration.

Category:
Product Design · UI/UX · Design Systems · Development · Open Source
My Role:
Product Designer and Developer
Giving Indian colors a useful home
Colors of India is a free, open-source library of 999 named colors inspired by India’s materials, crafts, food, landscapes, festivals, and everyday life.
The idea started from a simple observation. Most color tools use generic names or offer only a small set of “Indian” colors. But India has a much richer visual language: turmeric and kesar from the kitchen, indigo and madder from dyeing, sindoor and kumkum from rituals, kasavu gold from textiles, and the greens of paan and neem.
I wanted to bring these references into one place and make them useful for modern design work. The result is not only a collection of swatches. It is a working product for finding colors, building palettes, testing contrast, creating UI themes, previewing designs, and exporting colors into other tools.
The site is a library first and a set of tools second. Every feature starts from the same 999 colors, so a color found while browsing can also be used in a palette, interface theme, poster, slide, terminal, or downloadable card.
I built the project as a personal exploration across product design, visual design, data, accessibility, front-end development, localization, and open-source publishing.
The project follows three main ideas:
The colors should be the loudest part. The interface stays warm, quiet, and mostly neutral.
Indian identity should appear in the details. Cultural motifs support the experience without turning the interface into decoration.
The names are part of the product. Each color connects to a material, place, object, craft, plant, food, or cultural reference.
The library began with 287 core colors. I added more in batches, checked for near-duplicates, organized them into families and categories, and expanded the collection to 999.

One library, many ways to use color
Turning a collection of named colors into practical tools for designers, developers, and curious explorers.
I built the product around one main library of 999 colors. People can search by name or HEX value, filter by color family, change the value format, copy a color, save it, or download its card.
Every color also has its own detail page. It includes HEX, RGB, HSL, CMYK, Lab, OKLab, and OKLCH values, along with lighter, darker, analogous, complementary, triadic, and neutral suggestions.
Organising the tools through the side navigation
As the product grew, I grouped the side navigation into four simple sections. This makes the large set of tools easier to understand and gives each part of the product a clear purpose.
Find is for discovering and understanding colors.
Browse color cards gives a quick visual view of the library.
All colors provides a complete searchable list.
States of India explores regional palettes.
Color explorer helps people study and compare colors.
Color dictionary makes the names and references easier to browse.
Palettes is for combining colors.
Palette generator creates five-role palettes with contrast checks.
Palette ideas shows harmonies and curated combinations.
Usage cards test text and background pairs.
Gradients create combinations with copyable CSS.
Apply is for seeing how the colors work in real design situations.
Scene preview applies colors to websites, slides, posters, mobile screens, brand layouts, and social designs.
Theme generator turns the library into UI tokens for shadcn/ui, daisyUI, and JSON.
Terminal themes create downloadable themes for Ghostty, Alacritty, Kitty, WezTerm, and Windows Terminal.
Share is for keeping and reusing the colors.
Color of the Day creates a downloadable color card.
Saved stores selected colors and palettes in the browser.
Skills gives AI coding agents an installable version of the library.
The sidebar is collapsed to an icon rail by default, keeping the canvas open for the colors. People can expand it when they need the labels, and the site remembers their choice. On mobile, it becomes a drawer.
Exploring India through color
The States of India page gives each of the 28 states and eight union territories a five-color palette. The palettes take inspiration from local festivals, crafts, landscapes, materials, and food.
For example, Kerala brings together Mundu White, Kasavu Gold, Onam Pookalam Red, Backwater Green, and Coconut Palm. Each card explains the idea and lets people copy, save, or preview the palette.
These palettes are my interpretations, not official or historical standards. I designed them as a starting point for exploration.
The interface is available in English, Tamil, Hindi, and Telugu. A welcome card also cycles through greetings in 13 Indian languages and scripts. The translations are an early version and still need review by native speakers.

Designing and building the full system
Creating a quiet visual system, a zero-dependency website, and automated checks for thousands of generated pages.
I wanted the interface to feel connected to India without covering it in decoration. The colors had to remain the main focus, so I used a warm neutral base, light borders, flat surfaces, and one accent color at a time.
Peacock Blue is the default accent. People can change it to colors such as Turmeric, Kesar Saffron, Paan Leaf, Sindoor, Rani Pink, and Jamun. The same accent is applied across buttons, selected states, and controls.
The system uses Geist for interface text, Geist Mono for color values and code, and Noto Sans for the Indian scripts. I created shared components for the navigation, color cards, filters, inputs, dialogs, tables, messages, tool layouts, and responsive states.
Indian details with a purpose
Each cultural detail has a specific place in the interface.
The toran strip sits along the top edge, like a welcome at an entrance. Jaali patterns appear softly in page headers. Small buta shapes sit on tool cards, a kolam line leads into the footer, the loader uses a diya, and the logo is based on a rangoli shape. Copying a color creates a short gulal-inspired burst.
I also added a hanging ornament to the top-right corner. It is inspired by protective hangings seen at the entrances of many Indian homes and shops. These are often linked with nazar or drishti traditions and are placed to guard a space from the evil eye. I kept my version abstract and subtle rather than copying one regional object directly.
The ornament hangs like a small physical object and moves with a slow pendulum effect. It sways gently, then reacts when someone hovers or clicks it. This adds a small moment of character without distracting from the color library.
Motion across the site follows the same rule: slow, calm, and useful. It also reduces automatically when a visitor has reduced motion turned on.
Building without a framework
I designed and built Colors of India in Cursor using HTML, CSS, vanilla JavaScript, and one Node build script. It has no front-end framework, bundler, or runtime dependency.
The content is stored in simple data files for colors, states, interface text, and translations. The build script reads that data and creates about 4,060 HTML pages across four languages. It also creates 999 SVG color cards, CSV and JSON downloads, a sitemap, robots.txt, llms.txt files, and the agent skill.
Small JavaScript modules add the interactive parts: search, filters, generators, saved items, theme controls, the command palette, welcome card, copy feedback, and the hanging ornament.
The finished site is deployed through Cloudflare Pages. Each push to the main branch runs the build again and publishes the new version.
Checking the output
A custom verification script checks the generated site before publishing. It checks:
Text contrast in light and dark modes.
Theme and palette contrast combinations.
Terminal theme colors.
Missing translations.
Near-duplicate colors.
Page titles, descriptions, canonical links, and language links.
Broken internal links.
This helped me treat the project as a real product rather than only a visual experiment. I can change the data or interface and check thousands of generated files before they reach the live site.
How I used AI
I used AI throughout the project as a design and development assistant. It helped me expand the color data, draft translations, develop parts of the interface, write the build and verification scripts, and test different product ideas.
I shaped the concept, visual direction, side-navigation structure, tools, design system, data rules, and final decisions. I reviewed, tested, and corrected the generated work throughout the process.
Limitations and what comes next
The color values are approximate digital references. They are not measured from physical pigments, dyes, textiles, or historical objects.
The Tamil, Hindi, and Telugu interface text was machine-drafted and needs review by native speakers. Color names and state notes are currently in English, and the state palettes are interpretations rather than official standards.
Future improvements could include source-backed color values, native-speaker review, translated color stories, more community suggestions, and carefully adding new colors beyond the first 999.
The outcome
Colors of India grew from a color-list idea into a complete open-source product. It brings together 999 colors, 36 state and union-territory palettes, multiple design tools, four interface languages, a reusable design system, automated checks, and a live website.
The project taught me how to connect culture with practical product design. It also pushed me to work across research, naming, data structure, interface design, accessibility, front-end development, localization, testing, and deployment.
Project highlights
999 named colors across nine families and 17 categories.
36 palettes for Indian states and union territories.
15 product pages and tools.
Interfaces in English, Tamil, Hindi, and Telugu.
Around 4,060 generated HTML pages.
999 downloadable SVG color cards.
Light and dark themes with selectable Indian color accents.
Automated contrast, translation, metadata, and link checks.
Open-source code under the MIT License.
Zero runtime dependencies.
View the source code on GitHub
The project was inspired by traditional color-library projects, especially xiaoxiaodong.ai. I used the idea as a starting reference, but no code, data, or assets were copied.


