Set RGB and Alpha values for a color.
Syntax

[C#]

void SetRGB(double inRed, double inGreen, double inBlue);
void SetRGB(double inRed, double inGreen, double inBlue, double inAlpha);

[Visual Basic]

Sub SetRGB(inRed As Double, inGreen As Double, inBlue As Double)
Sub SetRGB(inRed As Double, inGreen As Double, inBlue As Double, inAlpha As Double)
Params
Name Description
inRed A number from 0 to 255 corresponding to the red intensity.
inGreen A number from 0 to 255 corresponding to the green intensity.
inBlue A number from 0 to 255 corresponding to the blue intensity.
inAlpha A number from 0 to 255 corresponding to the level of opacity.
Notes

Allows you to set an RGB color using only one call. An optional alpha value also allows you to set the opacity.

Example

None.