Paint by numbers generator
Make a paint-by-numbers from your photo
Choose how many colours, and Puzzle Dotter turns the picture into numbered areas with a colour key, ready to print and paint. The photo stays on your device.
11 colours · 19 areas · A4 landscape
Paint colours
- Colour 1:
#FDF4E1
2% of the picture - Colour 2:
#F8E0A8
4% of the picture - Colour 3:
#ECAC78
12% of the picture - Colour 4:
#DC9682
14% of the picture - Colour 5:
#CD828C
12% of the picture - Colour 6:
#C07095
12% of the picture - Colour 7:
#466FA8
10% of the picture - Colour 8:
#825587
6% of the picture - Colour 9:
#355C93
11% of the picture - Colour 10:
#26487D
13% of the picture - Colour 11:
#653A2C
2% of the picture
Sample: Sunset sail
Drop a photo here or paste one. JPG, PNG, WebP, GIF or SVG.
A paint-by-numbers that is fun to paint
- Pick a picture with big, simple areas: a landscape, a pet, a vase of flowers. Faces and fine textures turn into lots of tiny shapes.
- Set the number of colours. Six to ten is quick and relaxing; fifteen or more looks closer to the photo but means more paint to mix.
- Raise Smallest area until every area is big enough to paint and to hold its number. Large suits children.
- Check the Colour guide tab, then print the outline and the guide, or download them.
How it works
The picture is shrunk to 240–440 pixels, depending on Detail, and converted to CIELAB colour, where equal distances look about equally different. k-means clustering, started with k-means++, picks the colours. A majority filter tidies stray pixels, and areas that are too small or too thin join a neighbour. Each number sits at the spot furthest from its area's edges, and big areas get extra numbers. Borders are traced once and shared, so the outline and the colour guide line up exactly.
Matching paints
The key lists every colour's hex code. Copy colour list puts the codes on your clipboard for a paint shop's colour matcher. Printers and screens show colours differently, so treat the printed guide as a guide.
Sources
- Lloyd SP. Least squares quantization in PCM. IEEE Transactions on Information Theory 1982;28(2):129–137. doi:10.1109/TIT.1982.1056489
- Arthur D, Vassilvitskii S. k-means++: the advantages of careful seeding. Proceedings of the 18th ACM-SIAM Symposium on Discrete Algorithms (SODA) 2007:1027–1035. ACM Digital Library
- Borgefors G. Distance transformations in digital images. Computer Vision, Graphics, and Image Processing 1986;34(3):344–371. doi:10.1016/S0734-189X(86)80047-0
- CIE. Colorimetry, 4th edition (CIE 015:2018), for the CIELAB colour space. doi:10.25039/TR.015.2018
Questions
Why are there fewer colours than I asked for?
A colour is dropped from the key when the picture does not really contain it, or when all its patches were too small and joined their neighbours. Every number in the key appears on the page.
How do I make it easier for young children?
Use six to eight colours, Simple detail, Large smallest areas and black lines, and print on thick paper or card so the paint does not soak through.
Does my photo leave my computer?
No. The colours are worked out by a background worker inside your browser. The photo is never uploaded or saved.