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

CreateRGBColor Method (ColorFactory)
Creates the specified color.
Syntax
public CIMColor CreateRGBColor( 
   double R,
   double G,
   double B,
   double A
)

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

ArcGIS Pro version: 2.0 or higher.
See Also