Creates a Color structure from the four ARGB component (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.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overloads Shared Function FromArgb( _
ByVal alpha As System.Integer, _
ByVal red As System.Integer, _
ByVal green As System.Integer, _
ByVal blue As System.Integer _
) As Color |
Parameters
- alpha
- red
- green
- blue
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also