All RGB
Beyond the Histogram
What happens when we keep every color exactly the same, but change where it lives?
An independent extension of Wyatt Roy’s All RGB (2025). Inspired by his creative coding experiment; not affiliated with the artist.
16.7 million colors. One constraint.
In a 24-bit RGB image, each of three channels has 256 possible values. A square image 4096 pixels on each side can therefore contain every RGB triplet exactly once. Wyatt Roy explored how rearranging this fixed palette produces strikingly different images. Here we extend that idea by manipulating spatial frequency, randomness and the scale at which we view the result.
These are all possible 8-bit RGB codes, not all colors visible to humans. We assume the standard sRGB color space.
Same colors, different neighborhoods.
Choose which channel changes fastest. In a row-major traversal, the innermost channel increments every pixel, the middle every 256 pixels, and the outermost every 65,536 pixels. The geometry of the image determines how these sequences become spatial patterns.
Rapid variation may become unresolved while slower variation remains visible. Blur here is an illustrative screen-space filter, not a calibrated model of eyesight. Notice that a channel changing every pixel can still form a broad ramp before resetting: increment rate alone does not fully describe its spatial frequency.
What if no color has a preferred place?
Shuffle the entire palette rather than sampling colors independently. A Fisher–Yates permutation preserves every RGB code exactly once, while removing the deliberate spatial organization. From a distance, the result approaches a neutral field; close up, it is a mosaic of individual colors.
Zoom is centered on the image. At high magnification, nearest-neighbor rendering exposes the actual pixel grid. At low magnification, browser resampling influences the displayed gray.
When two colors become one.
Both strips contain equal areas of pure red and pure blue. One groups the colors into large blocks; the other interleaves them. Increase the number of stripes or the simulated blur to see the distinction disappear.
Our eyes and visual pathways have limited spatial resolution, particularly for chromatic detail. Neighboring colors can become indistinguishable, even though their physical light contributions remain. The CSS blur is only a qualitative approximation and may mix encoded rather than linear-light values.
Which gray is the average?
Every channel has an arithmetic mean of 127.5. But sRGB is nonlinear: a code of 128 does not emit half the light of code 255. Averaging emitted light requires decoding each channel into linear light first, then encoding the mean back into sRGB.
On an ideal sRGB display, the linear-light average is the physical prediction for unresolved light from the entire image. Actual appearance depends on display behavior, viewing conditions, adaptation and the resampling algorithm. It is not a guarantee of a particular perceived shade.
A histogram is not an image.
All the full-palette images here have the same joint RGB histogram, channel means and variances. They differ in local averages, neighboring-pixel correlations and two-dimensional spatial spectra. A histogram discards position; a Fourier transform retains information about spatial variation.
Human vision is not a simple RGB meter. Three classes of cones have overlapping spectral sensitivities, and subsequent neural processing responds to contrast, context and spatial scale. These experiments isolate one part of that larger story: the organization of color matters as much as its inventory.
At a sufficiently coarse scale, the physical average light of all these arrangements is identical. At intermediate scales, their differences are the artwork.