Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / Color Class / FromArgb Method / FromArgb(int,int,int,int) Method
The alpha.
The red.
The green.
The blue.
In This Topic
    FromArgb(int,int,int,int) Method
    In This Topic
    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
    public static Color FromArgb( 
       int alpha,
       int red,
       int green,
       int blue
    )

    Parameters

    alpha
    The alpha.
    red
    The red.
    green
    The green.
    blue
    The blue.

    Return Value

    Color.
    See Also