Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / Color Class / FromArgb Method / FromArgb(int,int,int) Method
The red.
The green.
The blue.
In This Topic
    FromArgb(int,int,int) Method
    In This Topic
    Creates a Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.
    Syntax
    public static Color FromArgb( 
       int red,
       int green,
       int blue
    )

    Parameters

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

    Return Value

    Color.
    See Also