---
title: "Color.FromInt"
url: "https://reference.aspose.com/html/java/com.aspose.html.drawing/color/fromint/"
product: "Aspose.HTML for Java API Reference"
description: "Color method. Returns a new Color with the requested ARGB value"
---

## Color.FromInt method

Returns a new Color with the requested ARGB value.

```java
public static Color FromInt(int argb)
```

| Parameter | Type | Description |
| --- | --- | --- |
| argb | Int32 | A int that represents the ARGB value of the color. |

### Return Value

A new instance of the [`Color`](../) class

### See Also

* class [Color](../)
* package [com.aspose.html.drawing](../../../com.aspose.html.drawing/)
* package [Aspose.HTML](../../../)
