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
min
byteContains minimal value after method is called.
max
byteContains maximal value after method is called.
r
byteRed component of the color.
g
byteGreen component of the color.
b
byteBlue 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)