## Color.Convert method

Returns a color components in the format of the specified color model.

```csharp
public IColorComponents Convert(ColorModel model)
```

| Parameter | Type | Description |
| --- | --- | --- |
| model | ColorModel | The color model. |

### Return Value

A new instance of the [`IColorComponents`](../../icolorcomponents/) interface

### See Also

* interface [IColorComponents](../../icolorcomponents/)
* enum [ColorModel](../../colormodel/)
* class [Color](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
