---
title: "with_luminosity method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.drawing/color/with_luminosity/"
product: "Aspose.SVG for Python via .NET API References"
---

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

### Returns 


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


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

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



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