Extract color palette
Extract the dominant colors from an image along with their hex code.
How to extract an image's color palette
Upload your image
Drag or select the image you want to extract colors from.
Check the dominant colors
You'll automatically see the image's most representative colors along with their hex code.
Copy the code you need
Click any color in the palette to copy its hex code to your clipboard.
Why extract the color palette on PDFDocks?
Identifying an image's exact colors is very useful for designers, web developers, or anyone wanting to replicate a specific palette in their own project. PDFDocks analyzes your image's pixels directly in your browser and calculates the dominant colors along with their hex code, without uploading the file to any server. The whole process happens with JavaScript on your own device, so the result appears practically instantly.
Is it safe to analyze images online with PDFDocks?
+
Yes. Your image is never uploaded to a server: analysis happens directly in your browser.
How do I copy a color from the palette?
+
Just click on any of the displayed colors and its hex code will be copied to your clipboard.
How many colors does the tool show?
+
It shows the image's most representative colors, prioritizing the ones that cover the largest area.
Is there an image size limit?
+
We haven't set any artificial limits. The only real limit is the memory available on your device.
Do I need to install any software?
+
No, it works directly from your browser, on both computer and mobile.
What formats does this tool support?
+
You can analyze JPG, PNG and WEBP images.