---
title: "ColorPalette.SetKeyColor Method "
canonical: https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_ColorPalette_SetKeyColor.htm
product: "Graphics Mill"
---

# ColorPalette.SetKeyColor Method 
 
Makes a palette entry transparent.
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [SetKeyColor(Int32)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_SetKeyColor_1_e1836fc4.htm.md) |  Makes a palette entry with a given index transparent. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm/icons/pubmethod.gif) |  [SetKeyColor(RgbColor)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_ColorPalette_SetKeyColor_1_99a0633e.htm.md) |  Makes a palette entry which is closest to a given color transparent. |
   
## See Also

### Reference

- [ColorPalette Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_ColorPalette.htm.md)
- [ColorPalette Members](https://www.graphicsmill.com/docs/gm/AllMembers_T_Aurigma_GraphicsMill_ColorPalette.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
