ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / ColorFactory Class / CreateRGBColor Method
The red component of the color to be created
The green component of the color to be created
The blue component of the color to be created
The alpha component of the color to be created

In This Topic
    CreateRGBColor Method (ColorFactory)
    In This Topic
    Creates the specified color.
    Syntax
    public CIMColor CreateRGBColor( 
       double R,
       double G,
       double B,
       double A
    )
    Public Function CreateRGBColor( _
       ByVal R As Double, _
       ByVal G As Double, _
       ByVal B As Double, _
       Optional ByVal A As Double _
    ) As CIMColor

    Parameters

    R
    The red component of the color to be created
    G
    The green component of the color to be created
    B
    The blue component of the color to be created
    A
    The alpha component of the color to be created

    Return Value

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also