示例#1
0
 public static Color FromHex(uint argb) => Color.FromArgb((int)argb);
示例#2
0
 public static Color FromRgb(int r, int g, int b) => Color.FromArgb((byte)r, (byte)g, (byte)b);
示例#3
0
 public static Color FromRgb(double r, double g, double b) => Color.FromArgb((byte)r, (byte)g, (byte)b);
示例#4
0
 public static Color FromRgb(byte r, byte g, byte b) => Color.FromArgb(r, g, b);