NearestPaletteIndexColor example