Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / C1Color Class / FromArgb Method / FromArgb(Byte,Byte,Byte,Byte) Method
The alpha channel.
The Red component.
The Green component.
The Blue component.

In This Topic
    FromArgb(Byte,Byte,Byte,Byte) Method
    In This Topic
    Creates a color from the ARGB components.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromArgb( _
       ByVal a As Byte, _
       ByVal r As Byte, _
       ByVal g As Byte, _
       ByVal b As Byte _
    ) As C1Color
    public static C1Color FromArgb( 
       byte a,
       byte r,
       byte g,
       byte b
    )

    Parameters

    a
    The alpha channel.
    r
    The Red component.
    g
    The Green component.
    b
    The Blue component.
    See Also