Add selecting the closest color in the palette.
We might extend this by having it also change the selected color to said closest color. But for now it only selects the closest color.