Visualize red-green-blue color space.
Run the code to make a swatch of color by specifying RGB components. Try other color components:
Note: use color component values between 0 and 1.
Make a color sphere. Try other colors:
Make a 5×5×5 array of spheres (each of radius 1/2). Try other sizes of arrays, and other radii:
Make the spheres different colors. Try reordering the color components—for example, {j,i,k}:
Note: rotate the cube to see other orientations.
Manipulate the radius of each sphere. Drag the slider to change the sizes of the spheres:
Note: rotate the color cube to see it from a different angle.
Share It—make an interactive color cube website: