This method returns a decimal value that represents a color.
Defined in
Syntax
public int RGB(int red, int green, int blue)
Parameters
int redSpecifies the red value (0-255).
int greenSpecifies the green value (0-255).
int blueSpecifies the blue value (0-255).
Return Value
color
int. A decimal value represents a color.
Usage
Sets color for a table, cell, range or font.
See examples
Related information
Color property in Border.
Color property in Font.
BackColor property in Range.
BackColor property in TextHeaderFooter.
BackColor property in TextParagraph.
BackColor property in TextRange.
BackColor property in TextTable.
BackColor property in TextTableCell.
BackColor property in TextTableRow.