
## with_luminosity {#float}

Creates copy of the Color with specified luminosity.


### Returns 


A new instance of the [`Color`](/html/python-net/aspose.html.drawing/color) class.


```python
def with_luminosity(self, luminosity):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| luminosity | float | Value of luminosity |



### See Also
* module [`aspose.html.drawing`](../../)
* class [`Color`](/html/python-net/aspose.html.drawing/color)
