RGB Property

Applies To

ChartColorFormat object.

Description

Returns the red-green-blue value of the specified color. Read-only Long.

Example

This example sets the color of the legend font to the foreground fill color of the plot area.

myChart.Legend.Font.Color = _
    myChart.PlotArea.Fill.ForeColor.RGB