Returns the 0-based index of the color in the spreadsheet's color palette.

 public int PaletteIndex{ get; }
Public ReadOnly Property PaletteIndex() As Integer
int colorIndex = clr.PaletteIndex;
Dim colorIndex As Integer = clr.PaletteIndex