---
title: "RgbColor Methods "
canonical: https://www.graphicsmill.com/docs/gm5/Methods_T_Aurigma_GraphicsMill_RgbColor.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# RgbColor Methods 
 
The [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Clone](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_RgbColor_Clone.htm.md) |  Creates a full copy of this [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) object. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ConvertColorSpace](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ConvertColorSpace_1_9e5a71e1.htm.md) |  Converts color value to another color space.<br> (Inherited from [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Equals](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_RgbColor_Equals_1_d02429b3.htm.md) |  Compares this [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) with specified object.<br> (Overrides [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).[Equals(Object)](http://msdn2.microsoft.com/en-us/bsc2ak47).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [Finalize](http://msdn2.microsoft.com/en-us/4k87zsw7) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetChannel](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_RgbColor_GetChannel.htm.md) |  Overloaded. <br>Gets value stored in specified channel of this color. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetChannel32](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_RgbColor_GetChannel32.htm.md) |  Overloaded. <br>Gets extended (16-bit) value stored in specified channel of this color. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetHashCode](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_RgbColor_GetHashCode.htm.md) |  Returns a hash code for this [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class.<br> (Overrides [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).[GetHashCode()](http://msdn2.microsoft.com/en-us/zdee4b3y).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetType](http://msdn2.microsoft.com/en-us/dfwy45w9) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Protected method](https://www.graphicsmill.com/docs/gm5/icons/protmethod.gif) |  [MemberwiseClone](http://msdn2.microsoft.com/en-us/57ctke0a) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToArray](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ToArray.htm.md) |  Returns a byte array that contains all channels of the color (8 bits per channel).<br> (Inherited from [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToArray32](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ToArray32.htm.md) |  Returns an integer numbers array that contains all channels of the color (16 bits per channel).<br> (Inherited from [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToGdiplusColor](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_RgbColor_ToGdiplusColor.htm.md) |  Returns [System.Drawing.Color](http://msdn2.microsoft.com/en-us/14w97wkc) containing the same color value as this [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) does.<br> (Overrides [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md).[ToGdiplusColor()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ToGdiplusColor.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToInt32](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_RgbColor_ToInt32.htm.md) |  Returns non-extended (8 bit per channel) numeric representation of this [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md).<br> (Overrides [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md).[ToInt32()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ToInt32.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToInt64](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_RgbColor_ToInt64.htm.md) |  Returns extended (16 bit per channel) numeric representation of this [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md).<br> (Overrides [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md).[ToInt64()](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ToInt64.htm.md).) |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToString](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_RgbColor_ToString.htm.md) |  Returns a string representation of this [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md).<br> (Overrides [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).[ToString()](http://msdn2.microsoft.com/en-us/7bxwbwt2).) |
 
## Operators

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public operator](https://www.graphicsmill.com/docs/gm5/icons/puboperator.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [Implicit](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_RgbColor_op_Implicit.htm.md) |  Overloaded. <br>Casts RGB color data format. |
   
## See Also

### Reference

- [RgbColor Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
