Colour Palette
Generator

How to choose a colour palette

Choose colours that support the job your design has to do. This exercise takes you from one reference to a palette you can test at real size.

Start with a job

Write down what the design should make easy to see. A portfolio might prioritise photography, while a booking form needs a clearly visible next step. Pick a reference for its balance of colours as well as the hues themselves.

Assign a role to each colour

Try #F8F5EA for the surface, #242D27 for type and #375B4B for primary actions. Add #DFE7D7 for a secondary panel and #DA9A73 for illustration. Create the same small sample with the accent in two different places and see where your eye goes first.

Test it on a real layout

Make one small mock-up with an ordinary paragraph, a button and a selected state. Check contrast on the actual pairings. If two colours are competing for attention, reduce the area or saturation of one before changing the hue. Save the final values as CSS variables.

Further reading Colour design discussion or reference

Try the ideas

Frequently asked questions

How many colours should a website use?

Start with a background, a text colour and an accent. Add a secondary surface or a status colour when the interface needs one.

How do I make colours look consistent across a site?

Assign names by purpose, such as surface or action. Reuse the same tokens for equivalent components and define a corresponding set for dark mode.

Copy value