public static Color UIntToColor(this uint color) { byte a = (byte)(color >> 24); byte r = (byte)(color >> 16); byte g = (byte)(color >> 8); byte b = (byte)(color >> 0); return(Color.FromArgb(a, r, g, b)); }
public static Color ToFileToVoxCoreColor(this System.Drawing.Color color) { return(Color.FromArgb(color.A, color.R, color.G, color.B)); }