lookupRGB method

int lookupRGB(
  1. int r,
  2. int g,
  3. int b
)

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

Implementation

int lookupRGB(int r, int g, int b) => _inxSearch(b, g, r);