Changing webcam-pixels to "nearest" color from color palette array

Haven’t gotten to warping yet. So far I use blur to deal with holes but there is still a bit of noise, so might ask for advice here to improve it. Gonna clean things up a bit and then share the code.