RGBColor.this

Constructor for creating colors in RGB format. If called without parameters, then all three values ​​of the channels R, G and B take the value 0, which corresponds to black.

class RGBColor
this
(
int R = 0
,
int G = 0
,
int B = 0
)

Parameters

R int

32-bit value for red channel. The value ranges from 0 (minimum value) to 255 (maximum value).

G int

32-bit value for green channel. The value ranges from 0 (minimum value) to 255 (maximum value).

B int

32-bit value for blue channel. The value ranges from 0 (minimum value) to 255 (maximum value).

Typical usage:

// Black color
RGBColor color = new RGBColor;

// Red color	
RGBColor color = new RGBColor(255, 0, 0);

// White color
RGBColor color = new RGBColor(255, 255, 255);

Meta