ArcGIS Pro 2.7 API Reference Guide
CreateRGBColor Method (ColorFactory)

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
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 10, Windows 8.1

See Also

Reference

ColorFactory Class
ColorFactory Members