getColorIndexRgb method

  1. @override
int getColorIndexRgb(
  1. int r,
  2. int g,
  3. int b
)

Find the index of the closest color to r,g,b in the colorMap.

Implementation

@override
int getColorIndexRgb(int r, int g, int b) => _inxSearch(b, g, r);