[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IThemeColor.RGB

RGB Property

RGB

Gets or sets the RGB color of this theme color entry.

This property uses the resolved Color value associated with the current ThemeColor in the workbook theme color scheme.

Declaration
Color RGB { get; set; }
Property RGB As Color
Examples
ITheme theme = new Theme("CustomTheme", Themes.Berlin);
workbook.Theme = theme;
IThemeColor themeColor = theme.ThemeColorScheme[ThemeColor.Accent1];
Color rgb = themeColor.RGB;