Random images for mood boards
Get a random photo to sit beside your palette as inspiration.
Press the button to get a random hex color code, with its name and its RGB, HSL and CMYK values. Click a code to copy it.
Tap the code to copy
Tints and shades
Recent colors
Color codes
Text contrast (WCAG)
Preview on a design
New collection
Colors that tell your story
See how your palette works for headings, buttons, cards and highlights before you use it.
Export
Saved palettes
Save palettes you like. They stay in this browser.
A hex code describes a color on screen using three pairs of hexadecimal digits, written as #RRGGBB. The pairs set the amount of red, green and blue, and each runs from 00 (none) to FF (full). That gives 16,777,216 possible colors.
Hexadecimal counts from 0 to 9 and then A to F, so FF equals 255 in everyday numbers. Letters can be upper or lower case.
| Color | Hex | RGB |
|---|---|---|
| White | #FFFFFF | 255, 255, 255 |
| Black | #000000 | 0, 0, 0 |
| Red | #FF0000 | 255, 0, 0 |
| Lime green | #00FF00 | 0, 255, 0 |
| Blue | #0000FF | 0, 0, 255 |
| Yellow | #FFFF00 | 255, 255, 0 |
| Middle gray | #808080 | 128, 128, 128 |
Paste the code straight into CSS, for example color: #3366CC;, or into design tools such as Figma, Canva and Photoshop. A short code such as #F00 is the same as #FF0000.
Before you use a color for text, look at the contrast result to see whether it can be read on white or black. Developers can also use random colors to tell chart lines, test data or placeholder blocks apart. For several colors that work together, use the random color palette generator.
Get a random photo to sit beside your palette as inspiration.
Stuck between design options? Add them and pick one at random.
Let the wheel decide who presents or who chooses the next color.
Need a name for a character or pet to go with your colors?
Need numbers too? Get one in any range, or a list with no repeats.
Let a random country and its flag inspire your next color scheme.
Yes. Use the mood menu for types such as pastel or neon, and the hue menu for a color family such as blue.
Press the code and it is copied to your clipboard.
Split the code into three pairs and convert each from base 16. This tool shows the RGB, HSL and CMYK values for you.
There are 16,777,216 six-digit hex colors.