Find the colours
The main colours of a photo, most common first, with their codes and how much of it each covers.
How it works
Up to 16 colours, the most common first, each with its share of the photo. Transparent areas do not count, so a cut-out gives the product’s own colours: fill in a listing’s colour, or match a background to the product.
- You choose
-
- Colours at most
- It takes
- One photo at a time, or a whole folder at once in the browser.
- You get
- Each colour’s hex code, its RGB values and its share of the photo.
- Cost
- 1 credit a photo
In the API
One request a photo, with an API key from the console. POST /v1/palette
curl -X POST "https://api.photos.sh/v1/palette?colors=5" \
-H "Authorization: Bearer $PHOTOS_KEY" \
-H "Content-Type: image/jpeg" \
--data-binary @photo.jpg
More tools to read the product
- Read a labelBarcode, net quantity, dates, lot, ingredients, allergens, nutrition and more, from up to 8 photos of one product.
- Read barcodesEAN, UPC and ITF-14 codes with their check digits verified; QR and others on request.
- Read textEvery line of text in a photo, with where it is, in many languages.
- Find facesWhere each face is, with its eyes, nose and mouth: check photos for people before you publish them.
- Describe the photoA description of the photo in English, written by AI: a caption, alt text for your shop, or a paragraph to start a listing from.
Try it on your own photos.
Create an account, buy a pack when you need one, and drop your first photos into Find the colours.