← All toolsDesign tools
Random colour generator
Generate a random color palette with HEX and RGB codes. Lock a favourite swatch and check the contrast of black or white text against it.
Colour palette
Generate a palette to see its colours and text contrast.
Settings
How to build a palette
- Choose one to twelve colours and generate the palette. Each swatch shows its HEX and RGB values.
- Read the contrast ratio beside the recommended black or white text colour. It applies only to that text and swatch pairing.
- Lock any colours to keep them in place on the next generation. Copy one value or the whole palette.
Try it out
Generate five swatches and lock a background you like. Regenerate the other four to explore a different set of accents.
Can I use the displayed ratio for two different swatches?
The ratio compares the suggested black or white text with that swatch’s background. A heading in one palette colour on another palette colour needs its own contrast check.