public override ColorBgra GetPercentileColor (float fraction) { int[] perc = GetPercentile (fraction); return ColorBgra.FromBgr ((byte)(perc[0]), (byte)(perc[1]), (byte)(perc[2])); }