FillColor Property
Specifies the color used to fill shapes drawn on an object by graphics routines. Available at design time and run time.
Object.FillColor[ = nColor ]
Object.FillColor[ = RGB(nRedValue, nGreenValue, nBlueValue) ]
Property Values
nColor
Specifies a single number to represent the color. By default, FillColor is set to 0 (Black). For more information on color settings, see the BackColor_ForeColor Properties topic.nRedValue, nGreenValue, nBlueValue
Specifies three separate color intensities that compose the fill color; must be used with the RGB( ) function to consolidate the three color components into one number, which is what the FillColor property is.Note In the Properties window, you can double-click any of the color properties to display the Color dialog box. You can choose or define colors from this dialog box. The red, green, and blue intensities that correspond to the color you choose become the settings for these properties after you close the Color dialog box.
Remarks
When the FillStyle property is set to its default, 1 (Transparent), the FillColor setting is ignored.
Only an enclosed shape, such as a circle, box, or ellipse can be filled.
Shape objects use the BackColor property to specify the fill color.
See Also
BackColor_ForeColor Properties | BorderColor Property | Box Method | Circle Method | FillStyle Property | ForeColor Property | GETCOLOR( ) | RGB( )