[]
Gets or sets the RGB color value.
Use this property to read or specify the current RGB color value used by APIs that accept color values.
Color RGB { get; set; }
Property RGB As Color
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 40, 40, 100, 60);
shape.Fill.Solid();
shape.Fill.Color.RGB = Color.Red;
Color color = shape.Fill.Color.RGB;