private bool CompareColors(Color first, Color second) { return(ColorUtilities.ComputeDistance(first, second, distanceAlgorithm) <= tolerance); }
public static double DistanceTo(this Color color, Color other) { return(ColorUtilities.ComputeDistance(color, other)); }