I have a image need to display on a device, but this device only has 255 color (some device maybe less), for some color it does not support, does it choose a 'nearest' color? or some other way?
As @CherryDT's comment, maybe use nearest color or dithering or just refuse to render, dose there other ways to handle it?