## Color.WithLuminosity method

Creates copy of the Color with specified luminosity.

```csharp
public Color WithLuminosity(float luminosity)
```

| Parameter | Type | Description |
| --- | --- | --- |
| luminosity | Single | Value of luminosity |

### Return Value

A new instance of the [`Color`](../) class.

### See Also

* class [Color](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
