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

    CreateRGBColor Method (CIMColor)
    Creates a new RGB color from input parameters.
    Syntax
    public static CIMColor CreateRGBColor( 
       double r,
       double g,
       double b,
       double alpha
    )

    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.0 or higher.
    See Also