distanceTo method
Returns the distance between this
color's
hue and color
's hue in degrees.
Implementation
double distanceTo(ColorModel color) =>
ColorMath.calculateDistance(hue, color.hue).toDouble();
Returns the distance between this
color's
hue and color
's hue in degrees.
double distanceTo(ColorModel color) =>
ColorMath.calculateDistance(hue, color.hue).toDouble();