Tweaking advert.
Ideas.
Compute tile fitting in morton order, will make dithering easier later.
Rough hack to do dithering.  Not sure it's very effective.
Use YUV model for colour closeness, instead of RGB.
Prioritise fitness of brightness over fitness of chroma.