---
title: "ColorPalette.GetEnumerator Method "
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_GetEnumerator.htm
product: "Graphics Mill"
---

# ColorPalette.GetEnumerator Method 
 
Returns an enumerator for the entire [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public IEnumerator<RgbColor> GetEnumerator()
```
 
### Return Value
An enumerator for the entire [ColorPalette](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md).
 
### Implements
 
IEnumerable&lt;T&gt;.GetEnumerator()
   
## 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)
