# GrapeCity.Spreadsheet.IColorPalette

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_IColorPalette" data-uid="GrapeCity.Spreadsheet.IColorPalette" class="text-break">IColorPalette Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the color palette that contains indexed colors.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_IColorPalette_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IColorPalette</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IColorPalette</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_IColorPalette_Count" data-uid="GrapeCity.Spreadsheet.IColorPalette.Count">
          <a class="xref" href="GrapeCity.Spreadsheet.IColorPalette.Count.html#GrapeCity_Spreadsheet_IColorPalette_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of indexed colors.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_IColorPalette_Item_System_Int32_" data-uid="GrapeCity.Spreadsheet.IColorPalette.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.IColorPalette.Item.html#GrapeCity_Spreadsheet_IColorPalette_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the RGB color at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
