find the nearest xterm 256 color index for an rgb