---
title: "Color.ToUint"
url: "https://reference.aspose.com/html/net/aspose.html.drawing/color/touint/"
product: "Aspose.HTML for .NET API Reference"
description: "Color ToUint method. Encodes the Color ARGB components into unsigned int"
---

## Color.ToUint method

Encodes the Color ARGB components into unsigned int.

```csharp
public uint ToUint()
```

### Return Value

Encoded unsigned int.

### See Also

* class [Color](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
