The RGB color values returned by this function are incompatible with those used by the Macintosh operating system. The following table lists some standard colors and the red, green, and blue values they include: The value for any argument to RGB that exceeds 255 is assumed to be 255. An RGB color value specifies the relative intensity of red, green, and blue to cause a specific color to be displayed. Number in the range 0–255, inclusive, that represents the blue component of the color.Īpplication methods and properties that accept a color specification expect that specification to be a number representing an RGB color value.
Number in the range 0–255, inclusive, that represents the green component of the color. Number in the range 0–255, inclusive, that represents the red component of the color. The RGB function syntax has these arguments: Returns a Long representing an RGB color value.