---
title: "ColorTranslator.FromWin32"
url: "https://reference.aspose.com/drawing/net/aspose.drawing/colortranslator/fromwin32/"
product: "Aspose.Drawing for .NET API Reference"
description: "ColorTranslator method. Translates a Windows color value to a GDI Color structure"
---

## ColorTranslator.FromWin32 method

Translates a Windows color value to a GDI+ Color structure.

```csharp
public static Color FromWin32(int win32Color)
```

| Parameter | Type | Description |
| --- | --- | --- |
| win32Color | Int32 | The Windows color to translate. |

### Return Value

The Color structure that represents the translated Windows color.

### See Also

* struct [Color](../../color/)
* class [ColorTranslator](../)
* namespace [Aspose.Drawing](../../colortranslator/)
* assembly [Aspose.Drawing.Common](../../../)


