static LPair ii_orderScanResultBySimilarityToColor2(RGB color, LPair l) {
ret pairsSortedByBDesc(mapPairB(l, c -> colorSimilarity(color, c)));
}
static LPair ii_orderScanResultBySimilarityToColor2(Color color, LPair l) {
ret ii_orderScanResultBySimilarityToColor2(RGB(color), l);
}