---
title: "Color Methods "
canonical: https://www.graphicsmill.com/docs/gm5/Methods_T_Aurigma_GraphicsMill_Color.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/)

# Color Methods 
 
The [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md) type exposes the following members.
 
## Methods

|   |  Name |  Description |
| --- | --- | --- |
 |  ![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. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [Equals](http://msdn2.microsoft.com/en-us/bsc2ak47) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![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) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromAcmyk](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromAcmyk_5_d5cef10c.htm.md) |  Returns [CmykColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CmykColor.htm.md) class instance constructed from all 5 channels (alpha, cyan, magenta, yellow, and black). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromAcmyk32](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromAcmyk32_5_d0e4a744.htm.md) |  Returns [CmykColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CmykColor.htm.md) class instance constructed from all 5 channels (alpha, cyan, magenta, yellow, and black). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromAGrayScale](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromAGrayScale_2_db855281.htm.md) |  Returns [GrayScaleColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_GrayScaleColor.htm.md) class instance constructed from given luminosity and alpha channel values. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromAGrayScale32](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Color_FromAGrayScale32.htm.md) |  Overloaded. <br>Returns [GrayScaleColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_GrayScaleColor.htm.md) class instance. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromAGrayScale64](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromAGrayScale64_1_5f4f955f.htm.md) |  Returns [GrayScaleColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_GrayScaleColor.htm.md) class instance constructed from numeric 64-bit representation of grayscale value with alpha channel. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromArgb](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromArgb_4_ef9e6d81.htm.md) |  Returns [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class instance constructed from all 4 channels (alpha, red, green, and blue). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromArgb32](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Color_FromArgb32.htm.md) |  Overloaded. <br>Returns [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class instance. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromArgb64](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromArgb64_1_5f4f955f.htm.md) |  Returns [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class instance constructed from numeric 64-bit representation of RGB value with alpha channel. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromCmyk](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromCmyk_4_ef9e6d81.htm.md) |  Returns [CmykColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CmykColor.htm.md) class instance constructed from all 4 color channels (cyan, magenta, yellow, and black). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromCmyk32](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Color_FromCmyk32.htm.md) |  Overloaded. <br>Returns [CmykColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CmykColor.htm.md) class instance. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromCmyk64](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromCmyk64_1_5f4f955f.htm.md) |  Returns [CmykColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_CmykColor.htm.md) class instance constructed from numeric 32-bit representation of CMYK value without alpha channel. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromGdiplusColor](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromGdiplusColor_1_d6f81365.htm.md) |  Returns [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class instance constructed from [System.Drawing.Color](http://msdn2.microsoft.com/en-us/14w97wkc) value. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromGrayScale](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromGrayScale_1_846cbb0c.htm.md) |  Returns [GrayScaleColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_GrayScaleColor.htm.md) constructed from specified luminosity level. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromGrayScale32](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromGrayScale32_1_e1836fc4.htm.md) |  Returns [GrayScaleColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_GrayScaleColor.htm.md) constructed from specified luminosity level. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromHsl](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromHsl_3_8ebc23ce.htm.md) |  Returns [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class instance constructed from hue, saturation, and lightness parameters. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromRgb](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromRgb_3_6e8d960c.htm.md) |  Returns [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class instance constructed from all 3 color channels (red, green, and blue). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) ![Static member](https://www.graphicsmill.com/docs/gm5/icons/static.gif) |  [FromRgb32](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromRgb32_3_9738cf02.htm.md) |  Returns [RgbColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_RgbColor.htm.md) class instance constructed from all 3 color channels (red, green, and blue). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [GetChannel](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Color_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_Color_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](http://msdn2.microsoft.com/en-us/zdee4b3y) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 |  ![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). |
 |  ![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). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToGdiplusColor](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ToGdiplusColor.htm.md) |  Returns [System.Drawing.Color](http://msdn2.microsoft.com/en-us/14w97wkc) containing the same color value as this [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md) does. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToInt32](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ToInt32.htm.md) |  Returns non-extended (8 bit per channel) numeric representation of the [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToInt64](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_ToInt64.htm.md) |  Returns extended (16 bit per channel) numeric representation of the [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md). |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [ToString](http://msdn2.microsoft.com/en-us/7bxwbwt2) |  (Inherited from [Object](http://msdn2.microsoft.com/en-us/e5kfa45b).) |
 
## 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_Color_op_Implicit.htm.md) |  Overloaded. <br>Casts color data format. |
   
## See Also

### Reference

- [Color Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
