internal static int smethod_5(Word97Color A_0) { if (A_0 < int_0.Length) { return(int_0[(int)A_0]); } return(-16777216); }
internal static Word97Color smethod_2(int A_0) { if (A_0 == -16777216) { return(Word97Color.Auto); } double maxValue = double.MaxValue; Word97Color black = Word97Color.Black; for (int i = 0; i < int_0.Length; i++) { double num2 = smethod_3(int_0[i], A_0); if (num2 <= maxValue) { black = (Word97Color)i; maxValue = num2; } } return(black); }
internal static Color smethod_1(Word97Color A_0) { return(smethod_7(smethod_5(A_0))); }