Color Palette from Image finds the main colours of a photo, logo, screenshot or painting and gives you their HEX, RGB and HSL codes, with how much of the picture each one covers. Click anywhere on the picture to get the exact colour of that spot. The picture is read in your browser and never uploaded.
How to get the colours of an image
- Click Choose a picture or drop a JPG, PNG, WebP, HEIC, GIF or AVIF file on the page.
- The main colours appear at once, most used first. Pick 3 to 12 under Colours.
- Click a colour to copy its HEX code, or use Copy as CSS, Copy as JSON or Download palette (PNG).
- To get one exact colour, click that spot on the picture.
Tested on a photo
A 1280 × 854 photo (418 KB) of colourful houses by a river, in Chrome, Core i5-13500H laptop, 3 November 2026:
| Result | |
|---|---|
| Time to show the palette | 0.2 s |
| 6 main colours | #ACD3FA sky (25%), #2D2614 dark shadows (25%), #4A4337, #697E95, #A38555, #D0BE8E (13% each) |
| 10 colours | changed instantly, without reading the file again |
| Palette image | 1200 × 400 PNG, 38 KB |
The yellow and red house fronts are bright but cover only a small part of the photo, so they are folded into the brown and sand colours. With 10 or 12 colours, or a click on a house, you get them on their own.
What you can copy
| Button | You get |
|---|---|
| Click a colour | Its HEX code, such as #ACD3FA |
| Copy as CSS | :root { --color-1: …; } with every colour as a CSS variable |
| Copy as JSON | HEX, RGB and share of the picture for each colour |
| Download palette | A PNG with one band per colour and its code |
Transparent pixels (the background of a PNG logo) are left out, so the palette shows only the colours of the logo itself.
Private by design
The picture is read on your own device. See how it works to check it in your browser.