Method MinMaxRgb
MinMaxRgb(out byte, out byte, byte, byte, byte)
Calculates minimal and maximal values from r, g,
b parameters.
public static void MinMaxRgb(out byte min, out byte max, byte r, byte g, byte b)
Parameters
minbyteContains minimal value after method is called.
maxbyteContains maximal value after method is called.
rbyteRed component of the color.
gbyteGreen component of the color.
bbyteBlue component of the color.
MinMaxRgb(out byte, out byte)
Calculates minimal and maximal values from all RGB color components.
public void MinMaxRgb(out byte min, out byte max)