Color.FromArgb(int) method¶
Defined in
Type: Color
Namespace: System.Drawing
Assembly: Splat.Drawing.dll
Applies to
net10.0-android36.0, net10.0-windows10.0.17763, net10.0-windows10.0.19041, net9.0-windows10.0.17763, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net8.0-windows10.0.17763, net462, net481
Overloads¶
- 1.
public static Color FromArgb(int argb) - 2.
public static Color FromArgb(int alpha, Color baseColor) - 3.
public static Color FromArgb(int red, int green, int blue) - 4.
public static Color FromArgb(int alpha, int red, int green, int blue)
1. Overload¶
public static Color FromArgb(int argb)
Parameters
| Name | Type | Description |
|---|---|---|
argb | int | -- |
Returns: Color
2. Overload¶
public static Color FromArgb(int alpha, Color baseColor)
Parameters
| Name | Type | Description |
|---|---|---|
alpha | int | -- |
baseColor | [Color](# | -- |
Returns: Color
3. Overload¶
public static Color FromArgb(int red, int green, int blue)
Parameters
| Name | Type | Description |
|---|---|---|
red | int | -- |
green | int | -- |
blue | int | -- |
Returns: Color
4. Overload¶
public static Color FromArgb(int alpha, int red, int green, int blue)
Parameters
| Name | Type | Description |
|---|---|---|
alpha | int | -- |
red | int | -- |
green | int | -- |
blue | int | -- |
Returns: Color