Skip to content
Project: Colour Picker

Introduction

Think of this project as a highly accurate, digital color-matching tool. It uses a color sensor connected to a microcontroller to "look" at a physical object and figure out exactly what color it is.

The Paint Store Analogy

"Imagine walking into a paint store with a leaf and saying 'I want this exact green.' The store uses a scanner to read the color and gives you a precise formula. Your Colour Picker does the same thing — but you built it yourself!"

What You'll Build

1. Scan an Object

Place any object in front of the sensor and press "S" to scan it.

2. Sensor Reads Color

The sensor captures light bouncing off the object and breaks it into Red, Green, and Blue channels.

3. Math Fixes It

Clever algorithms clean up glitches, adjust for lighting, and translate for human eyes.

4. Get Exact Codes

The program outputs precise RGB and HEX values you can use in any digital art app or website.

Key Takeaway

This is a one-shot tool — you press a button, it scans once, and gives you a result. Compare this with the Chameleon Lamp project which runs continuously!

What You'll Learn

01

Wiring

Connect the ESP8266 to the colour sensor using I2C.

02

How It Works

Follow the 7-step journey from raw sensor data to a perfect color code.

03

Concepts

Understand RGB, auto-ranging, statistical filtering, gamma correction, and more.