Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / Color Class / FromArgb Method / FromArgb(int,Color) Method
The alpha value for the new Color. Valid values are 0 through 255.
Color of the base.
In This Topic
    FromArgb(int,Color) Method
    In This Topic
    Creates a Color structure from the specified Color structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits.
    Syntax
    public static Color FromArgb( 
       int alpha,
       Color baseColor
    )

    Parameters

    alpha
    The alpha value for the new Color. Valid values are 0 through 255.
    baseColor
    Color of the base.

    Return Value

    Color.
    See Also