Method CalculateDistance
CalculateDistance(Color, Color)
Computes a similarity metric between two Color instances. A larger value indicates more dissimilar colors, while a smaller value indicates more similar colors. The metric is internally consistent for the given algorithm.
public override double CalculateDistance(Color c1, Color c2)
Parameters
Returns
- double
A numeric value representing the distance between the two colors.