ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IColorFactory Interface / 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 (IColorFactory)
    In This Topic
    Creates the specified color.
    Syntax
    CIMColor CreateRGBColor( 
       double R,
       double G,
       double B,
       double A
    )
    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