← All Work
All RGB
Web

All RGB

POETIC/INDIVIDUAL 2025

Images containing every 24-bit RGB color exactly once

Creative codingArtp5.js

I wrote a p5.js script to iterate through the entire color spectrum exactly once and add a pixel of that color to an image. The challenge wasn't so much the engineering, as the design - by keeping some color values consistent while iterating more rapidly over others, the image seems to take on those colors more predominantly, even though technically, all of these images have the exact same colors in them.

All RGB
All RGB

Every pixel on a screen is actually 3 pixels -- each has a Red, Green, and Blue (RGB) part of it. These are like mini stop-lights that send color into our eyes, where we have cones that are responsive to red, green and blue. All the colors we see are just made from our brain responding to red, green, and blue out in the world, and mixing them up.

This project shone a light, proverbially and literally, on the way we perceive color. It is not "true" or unbiased -- no human would look at these images and say that they are the same color as each other. Yet if you were to count up the colors in them, they are all exactly the same. The only difference is in their arrangement.

Coded in p5.js, a graphics-based javascript library. Code snippet below.

All RGB
Wyatt Roy Designer
← Previous
RippleStar
RippleStar
Next →
Fan Lamp
Fan Lamp