private static Color IntToColorWithAplphaFF(int i) { return Color.FromArgb(0xFF, Color.FromArgb(i)); }
private static Color IntToColorWithAplphaFF2(int i) { return Color.FromArgb(i | ((0xFFFFFF - i + 1)*-1)); }
Leave a comment: