# C1.Win.Bitmap.PaletteType

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_Bitmap_PaletteType" data-uid="C1.Win.Bitmap.PaletteType" class="text-break">PaletteType Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the type of palette used for indexed pixel formats.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Bitmap.html">C1.Win.Bitmap</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Bitmap.4.8.dll</h6>
  <h5 id="C1_Win_Bitmap_PaletteType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum PaletteType</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum PaletteType</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_Custom">Custom</td>
        <td><p>An arbitrary custom palette provided by caller.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedBW">FixedBW</td>
        <td><p>A black and white palette.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedGray16">FixedGray16</td>
        <td><p>A palette that has 16 shades of gray.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedGray256">FixedGray256</td>
        <td><p>A palette that has 256 shades of gray.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedGray4">FixedGray4</td>
        <td><p>A palette that has 4 shades of gray.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedHalftone125">FixedHalftone125</td>
        <td><p>A palette that has 5 intensity levels of each primary: 125-color on-off primaries and the 16 system colors added. With duplicates removed, 133 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedHalftone216">FixedHalftone216</td>
        <td><p>A palette that has 6 intensity levels of each primary: 216-color on-off primaries and the 16 system colors added. With duplicates removed, 224 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedHalftone252">FixedHalftone252</td>
        <td><p>A palette that has its 252-color on-off primaries and the 16 system colors added. With duplicates removed, 256 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedHalftone256">FixedHalftone256</td>
        <td><p>A palette that has its 256-color on-off primaries and the 16 system colors added. With duplicates removed, 256 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedHalftone27">FixedHalftone27</td>
        <td><p>A palette that has 3 intensity levels of each primary: 27-color on-off primaries and the 16 system colors added. With duplicates removed, 35 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedHalftone64">FixedHalftone64</td>
        <td><p>A palette that has 4 intensity levels of each primary: 64-color on-off primaries and the 16 system colors added. With duplicates removed, 72 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedHalftone8">FixedHalftone8</td>
        <td><p>A palette that has its 8-color on-off primaries and the 16 system colors added. With duplicates removed, 16 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_FixedWebPalette">FixedWebPalette</td>
        <td><p>A palette that has 6 intensity levels of each primary: 216-color on-off primaries and the 16 system colors added. With duplicates removed, 224 colors are available.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Bitmap_PaletteType_MedianCut">MedianCut</td>
        <td><p>An optimal palette generated using a median-cut algorithm. Derived from the colors in an image.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
