---
title: "InputElement.SetColorValue"
url: "https://reference.aspose.com/html/net/aspose.html.forms/inputelement/setcolorvalue/"
product: "Aspose.HTML for .NET API Reference"
description: "InputElement SetColorValue method. This method is used to set color as a value for input element. This method is valid if only the type of the input element is color"
---

## InputElement.SetColorValue method

This method is used to set color as a value for input element. This method is valid if only the type of the input element is "color"

```csharp
public void SetColorValue(Color value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| value | Color | The color object. |

### See Also

* class [InputElement](../)
* namespace [Aspose.Html.Forms](../../../aspose.html.forms/)
* assembly [Aspose.HTML](../../../)
