[]
        
Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values.
public static Color FromArgb(int argb)
Public Shared Function FromArgb(argb As Integer) As Color
| Type | Name | Description | 
|---|---|---|
| int | argb | The ARGB components.  | 
    
| Type | Description | 
|---|---|
| Color | The Color value that this method creates.  | 
    
Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.
public static Color FromArgb(int alpha, int red, int green, int blue)
Public Shared Function FromArgb(alpha As Integer, red As Integer, green As Integer, blue As Integer) As Color
| Type | Name | Description | 
|---|---|---|
| int | alpha | The alpha component. Valid values are 0 through 255.  | 
    
| int | red | The red component. Valid values are 0 through 255.  | 
    
| int | green | The green component. Valid values are 0 through 255.  | 
    
| int | blue | The blue component. Valid values are 0 through 255.  | 
    
| Type | Description | 
|---|---|
| Color | The Color value that this method creates.  | 
    
Creates a Color structure from the four 8-bit ARGB components (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.
public static Color FromArgb(int red, int green, int blue)
Public Shared Function FromArgb(red As Integer, green As Integer, blue As Integer) As Color
| Type | Name | Description | 
|---|---|---|
| int | red | The red component. Valid values are 0 through 255.  | 
    
| int | green | The green component. Valid values are 0 through 255.  | 
    
| int | blue | The blue component. Valid values are 0 through 255.  | 
    
| Type | Description | 
|---|---|
| Color | The Color value that this method creates.  |