How to get a random color
- Pick a list
Rainbow, basic colors, pastels, or earth tones. Each slice is painted in the color it names.
- Or go fully random
Press 8 random hex colors to fill the wheel with codes like #3FA7C2, drawn from all 16.7 million possible colors.
- Spin
The result shows the color name with its hex code and RGB values, ready to type into a design app.
- Add your own
Type color names or hex codes, one per line. Standard web color names work, like coral, teal, or slateblue.
Ways to use a random color
Art challenges
Spin two or three colors and make a drawing or painting that uses only those.
Design practice
Generate random hex colors and build a palette around the one you like best.
Learning colors
Young kids name the color on the wheel, then find something in the room that matches it.
Team colors
Give each team a color for field day, or spin to see which color game piece goes first. The Random Team Generator can name its teams after colors.
Hex codes, RGB, and color names
A hex code like #FF6347 is three pairs of base-16 digits for red, green, and blue, each from 00 to FF (0 to 255 in RGB). The random hex button picks each color as one number from 0 to 16,777,215 with the same fair method used everywhere on this site, so every color is equally likely. Truly random colors are often muted or dark. Press the button again for a new set.
Color names follow the list that web browsers understand, plus a few everyday names such as mint, sage, and butter yellow that we define ourselves. If a name is not recognized, its slice uses a regular wheel color and the result shows the name without a code.
Want to spin something other than colors? The Spin the Wheel page takes any list, and the Random Letter Generator handles the alphabet.
Frequently asked questions
How random are the colors?
Each pick uses crypto.getRandomValues with rejection sampling. A spin picks a slice with equal odds, and random hex codes are drawn evenly from all 16,777,216 colors.
Where do I find the hex code?
The hex code and RGB values appear under the color name after each spin, and Recent results keeps your last 20 colors with their codes.
Why does a color name show the wrong color or no color?
The wheel understands hex codes, the standard web color names (about 140 of them), and a few extra names of our own. Spaces are ignored, so sky blue and skyblue both work, but spelling counts. Unknown names still go on the wheel in a regular slice color.
Can I put this wheel on my website or in Google Slides?
On a website, yes. Press Embed this wheel and copy the iframe code. Paste it anywhere that accepts HTML or embed code, such as a blog post, a Google Sites page, or a course page in a learning platform like Canvas, Moodle, or Schoology (some schools turn embeds off, so check with your admin if it does not show). The embedded wheel keeps the entries you had when you copied the code, and visitors spin it right on your page.
Google Slides does not accept iframe code, so the wheel cannot run inside a slide there. Copy the link code or the share link instead, add it to a slide, and click it while you present. Slide and whiteboard tools that accept embed code or a web address, and PowerPoint with a web viewer add-in, can show the live wheel.