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