
## create_interpolation_color {#aspose.pydrawing.Color-float}

Creates an interpolation color with the specified color and position.


### Returns 


The created [`IInterpolationColor`](/html/python-net/aspose.html.drawing/iinterpolationcolor).


```python
def create_interpolation_color(self, color, position):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| color | aspose.pydrawing.Color | Represents the color that will be used at the corresponding position of the gradient. |
| position | float | The position, represented as a percentage from 0 to 1, at which the corresponding gradient color will be used. |



### See Also
* module [`aspose.html.drawing`](../../)
* class [`IDrawingFactory`](/html/python-net/aspose.html.drawing/idrawingfactory)
* class [`IInterpolationColor`](/html/python-net/aspose.html.drawing/iinterpolationcolor)
