public override double distance(SKColor color, IColorComparison comp, byte transparencyThreshold) { if (count == 0 || Deleted) // if count is zero or the color was deleted, don't use for computation { return(Int32.MaxValue); } return(comp.Distance(color.SKToLab(), labColor)); }