Main Content

This a simple Arduino/3D printing project about colors and sounds. I made this device or as I call it color instrument for activity for kids. Its fun and its a good conversation starter about physics of colors and sound. The most interesting fact about colors, in my opinion of course, is that pink color doesnt exists in physics.
I know, I know, you all thinking its a lie, but next time you look at the rainbow try to find pink color! Basically white light is made of all the colors you can see in the rainbow from red to purple. Each color has a specific wavelength, and you can assign that wavelength to every color in spectrum except pink. On the image below (white light spectrum / rainbow) you can see purple, indigo and violet but there is definitely no pink. Thats crazy! Right?

To explain that phenomena we have to learn about complementary colors. Complementary colors are pairs of colors which, when combined or mixed, cancel each other out by producing grey scale colors.

Almost every color in spectrum has its own complementary color, for example for red it’s light blue and for blue it’s yellow. For some reason green color is different. It’s not fully understood why but human brain basically invented new color - pink - which is a complimentary color to green. My theory is that nature likes symmetry and human brain created pink to maintain color – complimentary color symmetry.

OK, but why we see pink if it’s a complimentary color to green? Why we see colors at all?

We see colors of reflected wavelength. Let’s take banana, we see it as yellow because almost all visible spectrum is absorbed expect yellow light (570nm – 580nm). However this is a simple case when one wavelength is reflected. What if certain object reflects two or more wavelengths?

In that case human brain come up with the system to not to get confused. If object reflects red and green for example human brain interprets that as color in between them, which is yellow. If it’s purple and green than we will see blue and so on. Of course in case of more wavelengths it’s slightly more complex, but the principle is the same.

There is one specific case when human brain do something weird, something different. If the object reflects red and purple technically we should see green, but human brain decides to see complimentary color to green instead – pink, color invented by our brains.


- Arduino Nano v3 with USB cable
- Colour sensor TCS3200/TCS230 (22.4mm x 31.6mm version)
- SG90 servo
- Mini on/off rocker switch
- 9V battery clip
- 8Ω speaker
- Wires
- Screw (M3 x 20mm)
- Cable ties
- PLA for 3D printing


- Solder and soldering iron
- Philips screwdriver
- Wire cutters
- 3D printer
- Stanley knife


- Arduino IDE []
- Cura or any other slicer for 3D printing []”

Link to article