16,777,216 possibilities. Tap any value to copy it.
A color on screen is three numbers: red, green, and blue, each from 0 to 255. This creates a three-dimensional cube of 256 × 256 × 256 = 16,777,216 distinct colors. Generating a random color means picking a random point inside that cube. Three independent random bytes from the Web Cryptography API produce one of those 16.7 million colors with perfectly uniform probability. Every shade of crimson, every tone of teal, every pale lavender and deep navy has exactly the same chance of appearing.
Hex (#4F89E0) encodes the three channels as a six-character hexadecimal string. Designers and developers use it daily in CSS. RGB (rgb 79, 137, 224) states the same channels in decimal, mapping directly to how screens produce light by mixing red, green, and blue subpixels. HSL (hsl 216, 72%, 59%) translates the same color into human terms: hue is the color wheel angle (0° red, 120° green, 240° blue), saturation is intensity (0% gray, 100% vivid), and lightness runs from 0% black through 50% pure color to 100% white. All three notations describe the same physical color. This tool shows all three simultaneously.
The rainbow chart in the statistics panel divides the 360° hue wheel into twelve segments of 30° each. Over many generations, the bars will NOT converge to perfectly equal heights. Uniform random RGB does not produce uniform hue. The red, yellow, and blue primary zones receive slightly more samples than the intermediate zones. This is a consequence of the geometry: the RGB cube and the HSL cylinder map onto each other nonlinearly. The histogram makes this mathematical fact visible.
The human retina contains three types of cone cells, sensitive to long (red), medium (green), and short (blue) wavelengths. The RGB color model mirrors this biological trichromacy. Isaac Newton first demonstrated in 1666 that white light splits into a continuous spectrum of colors through a prism, but the three-channel model we use today traces to Thomas Young's 1802 hypothesis and Hermann von Helmholtz's experimental confirmation. Every random color on this page stimulates your three cone types in a unique ratio.
Random color generation connects art, science, and mathematics in a single exercise. Have students generate colors at /color/5 and classify each as warm or cool, then check whether the hue falls below or above 180°. For a data science lesson, generate 50 colors at /color/50 and tally how many fall in each hue segment. Compare the class results to a perfectly uniform distribution. The deviations open a conversation about sampling, bias, and the difference between RGB uniformity and perceptual uniformity. The tool requires no accounts, stores no data, and runs entirely in the browser.
Every color is generated entirely within your browser using the Web Cryptography API. The server delivers the page; your device creates every value. Sharing this URL sends the tool, never your results. The recipient generates their own independent random colors from their own device.
Random generation reveals what is possible. Real-world application reveals what works. Color Discovery is a network of specialized platforms where designers, architects, and creative professionals explore color palettes extracted from outstanding creative works across every discipline. Each palette comes from a realized project: a building facade, a product finish, a packaging design, an interior space. Browse by hue, saturation, or color temperature to find palettes that have already proven themselves in the physical world. Whether you are building a mood board, selecting material finishes, or searching for the precise chromatic tone your next project needs, these palettes offer a starting point grounded in professional practice. Discover Color Discovery now.
Send this link. The recipient gets their own random colors.
Daily Inspiration
Jury-selected work from the A' Design Award, presented fresh each morning.