byte find_max_color(byte red, byte green, byte blue) { byte max = 0; max = Math.Max(max, red); max = Math.Max(max, green); max = Math.Max(max, blue); return max; }