DEV Community

Cover image for "Color Maze" - an accidental project
Joel Jaison
Joel Jaison

Posted on

"Color Maze" - an accidental project

The Inspiration Behind ColorMaze

It all started with another project – an ambitious one aimed at creating an AI-powered color suggestion tool for Figma, the popular design platform. To make this AI truly insightful, we needed a massive dataset of color palettes, each carefully tagged with details about the emotions and feelings they evoke.

Unfortunately, there wasn't a single, perfect dataset readily available. So, we decided to get creative and build our own!

Data Collection

The data collection process involved scouring the web for freely available images through scrapping only from free sources🙂 .... (think stunning landscapes, eye-catching product designs, and everything in between). Using clever algorithms from the scikit-learn library, we extracted the dominant colors from each image.

But here's the twist: we didn't stop there. We leveraged the principles of color psychology to create three unique color palettes from those extracted colors. This way, our AI could learn the subtle associations between colors and human emotions.

To automate this data collection process, I chained together a series of Azure Cloud Functions. These functions acted like tiny robots, diligently scraping images, extracting colors, and generating palettes. And to avoid those pesky captchas that slow things down, we employed a clever cron job scheduling technique.

The result? A treasure trove of color data, meticulously collected and stored in the cloud

ColorMaze: A Sneak Peek

color maze logo

But wait, there's more! With this vast collection at our disposal, we decided to create something special for everyone – ColorMaze. This website allows you to explore the world of color palettes, including some hidden gems you might not find anywhere else (think premium palettes from all your favorite design sites!).

Right now, ColorMaze is still under development, undergoing its finishing touches and functionality tweaks. But feel free to check it out and let us know if you encounter any bugs – we view them as our little companions on the path to perfection!😅

The future of ColorMaze is brimming with possibilities. With the approval of my teammates, we plan to populate the site with the entirety of our color data collection. This will create a truly unique resource for designers and anyone who loves the language of color.

As for the source code, we're keeping that under wraps for now, but we're excited to share the final product with the world! So, stay tuned and keep an eye out for ColorMaze – it's destined to become your go-to destination for all things color inspiration.

checkout colormaze here - colormaze website

and also wishing everyone who reads on 3/31/2024 a Happy Easter🥚

Top comments (0)