Skip to content
beginthings.
Generate from Color
Extract from Image
Image Preview
Live UI Mockup
Mock Header

This is some sample text to see how the colors look in a real UI context. The button below uses the secondary color.

How to generate a color palette

Start from a base color or generate a fresh set, and the tool builds a harmonious palette for you. Click any swatch to copy its hex code, ready to paste into your design tool, CSS, or slides.

Extract colors from an image

Have a photo or logo whose colors you love? Load the image and the tool pulls out its main colors into a palette you can reuse. It runs in your browser, so your image is not uploaded.

Understanding color harmonies

Complementary colors sit opposite each other and give strong contrast. Analogous colors sit next to each other and feel calm and cohesive. Triadic palettes use three evenly spaced colors for a balanced, lively look.

Where it helps

Need to prep the image first? Shrink it with the image compressor or switch formats with the image converter. Browse all free tools.

Free and private

The palette tool is free, needs no signup, and keeps your images on your device with nothing uploaded.

Frequently asked questions

Is this color palette tool free?
Yes. It is completely free, needs no signup, and runs in your browser.
Can I extract colors from an image?
Yes. Load a photo or logo and the tool pulls its main colors into a palette you can copy and reuse.
What color format do I get?
Hex codes, which you can copy with one click and paste straight into CSS, design tools, or slides.
Is my image uploaded anywhere?
No. Color extraction happens in your browser, so your image never leaves your device.
What is a complementary color palette?
Complementary colors sit opposite each other on the color wheel and create strong contrast, which is useful when you want one element to stand out.

Worked example: building a palette from one base colour

How to use it

  1. Pick a base colour that already represents the project — for example, a colour from a logo, product or photograph.
  2. Click Generate Palettes and review the harmonious sets the tool builds from that colour.
  3. If you already have an image you like, use Upload an Image under Extract from Image instead and let the tool pull out its main colours.
  4. Click any swatch to copy its HEX code, then paste it into your design tool, presentation or stylesheet.
  5. Use Copy CSS to copy the palette as CSS variables, and check the result in the Live UI Mockup before you commit to it.

Use cases / who it's for

Example

Start with a deep teal base such as #0F766E. Generate palettes and choose an analogous set for backgrounds and headings, reserving one contrasting swatch for the button. Paste the HEX values into the mock by copying the CSS variables into your own stylesheet as --primary, --secondary and --accent. The practical test is simple: can you read the mock heading easily, and does the button stand out without clashing? If not, change the base colour slightly and regenerate rather than forcing a weak combination.

Tips / common mistakes

FAQ

Can I extract colours from a logo?

Yes. Upload the logo image and the tool pulls out a palette of its main colours that you can copy as HEX codes.

What does Copy CSS give me?

It copies the palette as CSS variables, ready to paste into a stylesheet and reference by name.

Should my button use the brightest colour?

Usually the accent should be used sparingly for actions, while calmer colours carry backgrounds and body text. Preview it in the Live UI Mockup first.

Keep going: Icon Studio · Image Format Converter · Image Compressor.

Embed this tool on your site

Free to use. Drop this tool into your own website or blog with one snippet, no signup needed.

The embed shows a small "Powered by BeginThings" credit. Free for any site.

How to use the Color Palette Generator

  1. Open the toolOpen Color Palette Generator in any browser. It is free, with no signup.
  2. Add your inputAdd a base colour.
  3. Get the resultCopy the hex codes or save the palette.

Related free tools

Working on a bigger project? Open in BeginRooms