ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMColor Class / CreateRGBColor Method
Red
Green
Blue
Alpha

In This Topic
    CreateRGBColor Method (CIMColor)
    In This Topic
    Creates a new RGB color from input parameters.
    Syntax
    public static CIMColor CreateRGBColor( 
       double r,
       double g,
       double b,
       double alpha
    )
    Public Shared Function CreateRGBColor( _
       ByVal r As Double, _
       ByVal g As Double, _
       ByVal b As Double, _
       Optional ByVal alpha As Double _
    ) As CIMColor

    Parameters

    r
    Red
    g
    Green
    b
    Blue
    alpha
    Alpha

    Return Value

    An RGB color
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also