32-bit value for red channel. The value ranges from 0 (minimum value) to 255 (maximum value).
32-bit value for green channel. The value ranges from 0 (minimum value) to 255 (maximum value).
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);
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.