Sets the fill color for the shape to be the specified custom RGB value, and returns the generated . This method allows a shape to have a color not defined in the worksheet's Palette. |
public virtual Color SetCustomFillColor(int red, int green, int blue) |
Public Overridable Function SetCustomFillColor(ByVal red As Integer, ByVal green As Integer, ByVal blue As Integer) As Color |
The red component of the RGB value. |
The green component of the RGB value. |
The blue component of the RGB value. |
A |
If the given red, green, or blue value is not between 0 and 255. |