There is no single right number, but there is a sweet spot for each kind of picture:
| Picture | Colours | Why |
|---|---|---|
| Logo, text, cartoon | 3–10 | Flat areas; extra colours only add noise |
| Pet, flower, object | 12–25 | Enough for fur and shading |
| Portrait | 25–40 | Skin needs several close tones |
| Landscape, "photo look" | 40–60 | Smooth gradients, more confetti |
Try two versions in the pattern maker, say 15 and 30 colours, and look at them from a distance. If you can’t see the difference, use the smaller number.