internal static uint smethod_21(OfficeColor A_0) { if (A_0 < uint_0.Length) { return(uint_0[(int)A_0]); } return(0xff000000); }
internal static OfficeColor smethod_26(uint A_0) { if (A_0 == 0xff000000) { return(OfficeColor.Auto); } double positiveInfinity = double.PositiveInfinity; OfficeColor black = OfficeColor.Black; for (int i = 0; i < uint_0.Length; i++) { double num2 = smethod_31(uint_0[i], A_0); if (num2 <= positiveInfinity) { black = (OfficeColor)i; positiveInfinity = num2; } } return(black); }
internal static Color smethod_19(OfficeColor A_0) { return(smethod_29((int)smethod_21(A_0))); }