Find the index of the closest color to c in the colorMap.
c
@override int getColorIndex(Color c) { final r = c.r.toInt(); final g = c.g.toInt(); final b = c.b.toInt(); return _inxSearch(b, g, r); }