Free tool
Art color palette generator
Short answer: choose an image of your artwork and the generator finds its six main colours, with HEX and RGB codes to copy and the share of the image each one covers. It runs in your browser, and the same image always gives the same palette. Use the colours for shop branding and listing graphics, and see which frame finishes stand out most against the art.
Find your artwork's colours
Choose an image to see its six main colours.
Then show it on a wall
Rooms that suit the art's colours
Warm art looks at home in a warm room. WallMock places your exact artwork in 500+ curated rooms, from neutral to bold, with frame finishes from black and white to oak, walnut and gold, for a whole collection at once.
Try WallMock free with no sign-up and no card: up to three artworks in 8 sample rooms, as watermarked previews made on your device.

How the colours are found
- A small copy. The image is scaled down so its long side is at most 400 pixels. That is plenty to measure colour, and it keeps the page fast with large files.
- Group similar colours. Every pixel is counted, then the colours are split into six groups by median cut (repeatedly halving the widest spread of colour) and refined by k-means (moving each pixel to its nearest group until nothing changes).
- Report each group. Each colour is the true average of the pixels in its group, and its share is how much of the image those pixels cover. Transparent pixels are ignored.
Small details, like a thin gold line, can matter to the eye but cover little of the image, so they may merge into a nearby colour. To pick out a detail, crop the image to it first with the crop tool.
Using your palette
- Shop branding: take your banner, logo and listing-graphic colours from the art you sell most, so the shop feels like one collection.
- Listing graphics: use a light and a dark colour from the palette for size guides and text, so they match the art.
- Room photos: a room whose wall or cushions echo one of the art's colours makes the art look chosen for the space. The guide to room styles and wall colours explains when to use neutral, tinted and bold rooms.
- A matching set: compare palettes across designs to group art into sets of two or three that share colours.
Which frame finishes stand out
After you choose an image, the hint compares the artwork's overall brightness with each of WallMock's seven frame finishes using the contrast ratio from the web accessibility guidelines (WCAG), from 1:1 (the same brightness) to 21:1 (black on white). A high ratio frames the art with a clear edge; a low ratio lets the frame blend in. It is a suggestion from brightness only: hue, style and the room matter too, as the guide to frame colours for wall art shows.
| Finish | Approximate swatch | Luminance |
|---|---|---|
| Black | #2B2A26 | 0.02 |
| White | #E2E1D8 | 0.75 |
| Natural oak | #AF9777 | 0.33 |
| Walnut | #563E31 | 0.06 |
| Espresso | #3F3223 | 0.03 |
| Gold | #C9A975 | 0.42 |
| Silver | #CBCAC4 | 0.59 |
Swatches are approximate: the average colour of each frame face in our frame colours comparison image, one painting shown in every finish. A frame looks lighter or darker with the room's light and the wood grain.
Read next: frame colours for wall art, room styles and wall colours and the crop tool.
More free tools
Questions
How do I get the colour codes from a painting?
Photograph or scan the painting straight on in even light, crop it to the artwork, then choose the file above. Each colour shows its HEX code (such as #C83C32) and RGB values, with a button to copy them.
What is the difference between HEX and RGB?
They are two ways of writing the same colour. RGB gives the red, green and blue amounts from 0 to 255; HEX writes the same three numbers in base 16 after a #. Web pages and most design apps accept either.
Will the same image always give the same palette?
Yes. The method has no random step, so the same file gives the same six colours and shares every time. A different photo or crop of the same painting can shift the colours slightly.
Why are there sometimes fewer than six colours?
Only when the image has fewer than six distinct colours, such as flat graphic art. The swatches are representative averages of the colours in the image, so a swatch need not match an individual pixel.
How does the frame suggestion work?
It compares how light or dark the artwork is overall with each of WallMock's seven frame finishes, using the contrast ratio from web accessibility guidelines. A high ratio means the frame stands out; a low one means it blends in. It ignores hue, style and the room, so treat it as a starting point.
Is my image uploaded?
No. The image is read and measured in your browser; nothing is sent anywhere.