---
title: "ColorPalette Members"
canonical: https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_ColorPalette.htm
product: "Graphics Mill"
---

# ColorPalette Members
 
The [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md) type exposes the following members.
 
## Constructors

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [ColorPalette](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_ColorPalette_ctor.htm.md) |  Overloaded. <br>Initializes a new instance of the [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md) class. |
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [Clone](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_Clone.htm.md) |  Returns a full copy of this [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md) instance. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm/icons/static.gif) |  [Create](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_ColorPalette_Create.htm.md) |  Overloaded. <br>Returns a new [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md) containing colors generated from a given bitmap. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [Dispose](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_Dispose.htm.md) |  Releases all resources used by this [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [Equals](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_Equals_1_d02429b3.htm.md) |  Tests whether the specified object is a [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md) instance and is equivalent to this [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md).<br> (Overrides Object.Equals(Object).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm/icons/protmethod.gif) |  Finalize |  (Inherited from Object.) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [FindNearestIndex](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_FindNearestIndex_1_99a0633e.htm.md) |  Returns an index of the color in this palette closest to a given one. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [GetEnumerator](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_GetEnumerator.htm.md) |  Returns an enumerator for the entire [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [GetEnumeratorBase](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_GetEnumeratorBase.htm.md) |  Returns an enumerator for the entire [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  GetHashCode |  (Inherited from Object.) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  GetType |  (Inherited from Object.) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm/icons/protmethod.gif) |  MemberwiseClone |  (Inherited from Object.) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [SetKeyColor](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_ColorPalette_SetKeyColor.htm.md) |  Overloaded. <br>Makes a palette entry transparent. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [ToGdiPlusColorPalette](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_ToGdiPlusColorPalette.htm.md) |  Gets the System.Drawing.Imaging.ColorPalette containing the same colors as this [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md) does. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  ToString |  (Inherited from Object.) |
 
## Operators

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public operator](https://www.graphicsmill.com/docs/gm/icons/puboperator.gif) ![Static member](https://www.graphicsmill.com/docs/gm/icons/static.gif) |  [Implicit](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_ColorPalette_op_Implicit.htm.md) |  Overloaded. |
 
## Properties

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public property](https://www.graphicsmill.com/docs/gm/icons/pubproperty.gif) |  [Count](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorPalette_Count.htm.md) |  Returns a number of colors in the palette. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm/icons/pubproperty.gif) |  [HasAlpha](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorPalette_HasAlpha.htm.md) |  Gets a value indicating whether this palette support transparency. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm/icons/pubproperty.gif) |  [Item](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorPalette_Item_1_e1836fc4.htm.md) |  Gets or sets a palette entry at the specified index. |
 |  ![Public property](https://www.graphicsmill.com/docs/gm/icons/pubproperty.gif) |  [Type](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_ColorPalette_Type.htm.md) |  Gets a value indicating whether this palette is predefined or custom. |
   
## See Also

### Reference

- [ColorPalette Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
