Jonathan. Frech’s WebBlog

RGB Color Cube (#109)

Jonathan Frech

Listing the red part on the 𝑥-axis, the green part on the 𝑦-axis and the blue part on the 𝑧-axis, this program displays all the 16777216⁠¹ colors rgb can display.
The 𝑧-axis is shown over time, visually going through a cube of colors.

Source code: rgb-color-cube.py


[1]0 to 255 color values for all three colors in rgb yields to $256^3=16777216$$256^3=16777216$ different colors.