About the Color Palette Generator
A color palette generator finds the main colours in an image and presents them as usable HEX codes. Use FreeToolr with a photo, logo, screenshot or other image when you need colours for a website, app, presentation or design project.
Select an image in your browser. FreeToolr processes it on your device and shows up to 8 main colours. Tap any colour to copy its HEX code. You can also download the results straight to your device.
Your image is never uploaded. This browser-based process gives you a clear palette without sending the image to a server. The fixed limit of up to 8 colours keeps the result easy to scan, while HEX codes work well in web design and many graphics tools.
How to use it
- 1Select an image from your device.
- 2Wait while the browser finds up to 8 main colours.
- 3Review the colour swatches and HEX codes.
- 4Tap a colour to copy its HEX code, or download the results to your device.
Worked example
Input: a 1 x 1 PNG with one pixel set to RGB 51, 102, 153. Result: the main HEX code is #336699.
How it works
Finds up to 8 main colours in an uploaded image and shows their HEX codes; tap a colour to copy itRuns in the browser: files are never uploadedResults download straight to the deviceSource: MDN: File APIW3C: CSS Color Module Level 4. Last checked 4 November 2026.
What it is good for
- Find up to 8 main colours from one image.
- Copy any HEX code with one tap.
- Process images in your browser without uploading them.
- The palette shows representative main colours, not every colour in the image.
- Results can vary with gradients, shadows, compression and transparency.
Questions people ask
What does the Color Palette Generator do?
It finds up to 8 main colours in an uploaded image. It displays each colour with a HEX code.
Does FreeToolr upload my image?
No. The tool runs in your browser, so your image is never uploaded. Results download directly to your device.
How many colours can it find?
The tool finds up to 8 main colours. An image may show fewer colours when it contains limited colour variation.
How do I copy a HEX code?
Tap the colour you want in the results. FreeToolr copies that colour's HEX code for you.
What image should I use?
Use an image with the colours you want to study, such as a photo, logo or screenshot. Strong lighting, gradients and compression can affect the result.
Are the extracted colours exact?
They are representative main colours from the image. They may not match every individual pixel or a colour picked from one precise point.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.