public double Distance(GSColor color) { return(color.Distance(new GSColor( (byte)(Begin.R + (Begin.Distance(color) / Length * (End.R - Begin.R))), (byte)(Begin.G + (Begin.Distance(color) / Length * (End.G - Begin.G))), (byte)(Begin.B + (Begin.Distance(color) / Length * (End.B - Begin.B)))))); }