---
title: "Color..::.FromAGrayScale64 Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromAGrayScale64_1_5f4f955f.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.FromAGrayScale64 Method 
 
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.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Shared Function FromAGrayScale64 ( _alphaGrayScale As Long _
) As GrayScaleColor
```
 
```csharp
public static GrayScaleColor FromAGrayScale64(long alphaGrayScale
)
```
 
### Parameters
 
 - alphaGrayScale
     - Type: [System.Int64](http://msdn2.microsoft.com/en-us/6yy583ek)
Numeric representation of the alpha grayscale value (extended).
 
### Return Value
 [GrayScaleColor](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_GrayScaleColor.htm.md) class instance constructed from given number.
 
## Remarks
 Low word (2 bytes) of this 64-bit value contains intensity level, next word contains alpha value. The rest higher words are ignored. You can also use non-extended version of this method, i.e. [FromAGrayScale32(Int32)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Color_FromAGrayScale32_1_e1836fc4.htm.md).
   
## 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)
