Advertisement
Color Science & Spatial Geometry

Interactive 3D RGB Color Cube Visualizer

Explore the continuous 3-dimensional Cartesian coordinate system of the sRGB color space. Drag to rotate the 3D color cube and inspect Red, Green, and Blue coordinates.

3D Color Space (Drag to Orbit)

Rotates in 3D Space
R: X-axis | G: Y-axis | B: Z-axis

RGB Vertex Values

Origin Vertex
Black (0,0,0)
Opposite Corner
White (255,255,255)
Primary Axes Corners
Red Green Blue
Color Diagonal: The diagonal axis connecting Black (0,0,0) to White (255,255,255) forms the neutral achromatic gray scale.
Interactive HTML5 Canvas Matrix

What is the 3D RGB Color Cube?

The RGB color cube is a three-dimensional Cartesian coordinate representation of the standard sRGB color model. Each point inside the volume represents a unique combination of Red, Green, and Blue subpixel intensities mapped from 0 to 255. The volume contains 256 × 256 × 256 = 16,777,216 distinct color points, with pure Black located at the origin (0,0,0) and pure White at the furthest diagonal apex (255,255,255).

Key Geometric Vertices of the RGB Cube

  • 3 Primary Color Vertices: Red (255,0,0), Green (0,255,0), and Blue (0,0,255).
  • 3 Secondary Color Vertices: Yellow (255,255,0), Cyan (0,255,255), and Magenta (255,0,255).
  • Neutral Diagonal: The internal central vector connecting Black to White contains all pure neutral grays where R = G = B.

Frequently Asked Questions

Why is color modeled as a 3D volume?

Human color vision is trichromatic, mediated by three cone photoreceptors in the retina (S, M, and L cones sensitive to short, medium, and long light wavelengths).

How does the RGB cube compare to the HSL cylinder?

The RGB cube maps straight linear hardware signals, while the HSL cylinder remaps the cube into cylindrical coordinates (Hue angle, Saturation radius, and Lightness height) for intuitive design.

AI Images